Fixed merge conflict
This commit is contained in:
commit
5ca5d28363
4 changed files with 14 additions and 23 deletions
|
|
@ -86,9 +86,9 @@ alias icat='kitten icat'
|
|||
alias power-draw="cat /sys/class/power_supply/BAT1/current_now /sys/class/power_supply/BAT1/voltage_now | xargs | awk '{print \$1*\$2/1e12 \" W\"}\'"
|
||||
alias battery='cat /sys/class/power_supply/BAT1/capacity'
|
||||
# Override some default commands with more practical alternatives
|
||||
alias ls='eza --icons=automatic --tree --level=1 --follow-symlinks --no-quotes --sort=modified'
|
||||
alias ls='eza --icons=auto --tree --level=1 --follow-symlinks --no-quotes --sort=modified'
|
||||
alias lsa='ls -a'
|
||||
alias lsl='eza --icons=automatic --long --header --group -M --sort=modified'
|
||||
alias lsl='eza --icons=auto --long --header --group -M --sort=modified'
|
||||
alias tree='ls --level=3'
|
||||
# Keep default commands accessible
|
||||
alias lsd='/usr/bin/ls --color'
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ fzf
|
|||
git
|
||||
gnome-keyring
|
||||
helix
|
||||
less
|
||||
openssh
|
||||
wget
|
||||
zoxide
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
apparmor
|
||||
efibootmgr
|
||||
grub
|
||||
htop
|
||||
|
|
@ -11,7 +10,5 @@ os-prober
|
|||
sof-firmware
|
||||
stow
|
||||
sudo
|
||||
ufw
|
||||
vim
|
||||
zram-generator
|
||||
zsh
|
||||
|
|
|
|||
|
|
@ -519,22 +519,12 @@ install_packages() {
|
|||
if [[ $group == aur ]]; then
|
||||
for pkg in "${pkgs[@]}"; do
|
||||
local tmp; tmp=$(mktemp)
|
||||
if [[ $IS_TTY == true ]]; then
|
||||
spinner_start " [aur] $pkg"
|
||||
if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then
|
||||
spinner_stop ok "[aur] $pkg"; succeeded+=("$pkg")
|
||||
else
|
||||
spinner_stop fail "[aur] $pkg"
|
||||
warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg")
|
||||
fi
|
||||
spinner_start " [aur] $pkg"
|
||||
if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then
|
||||
spinner_stop ok "[aur] $pkg"; succeeded+=("$pkg")
|
||||
else
|
||||
printf " ... [aur] %s\n" "$pkg"
|
||||
if paru -S --needed --noconfirm "$pkg" >"$tmp" 2>&1; then
|
||||
ok "[aur] $pkg"; succeeded+=("$pkg")
|
||||
else
|
||||
err "[aur] $pkg"
|
||||
warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg")
|
||||
fi
|
||||
spinner_stop fail "[aur] $pkg"
|
||||
warn "paru output:"; cat "$tmp" | indent; failed+=("$pkg")
|
||||
fi
|
||||
rm -f "$tmp"
|
||||
done
|
||||
|
|
@ -820,9 +810,12 @@ enable_services() {
|
|||
# Pipewire (audio)
|
||||
blank
|
||||
step "Audio (Pipewire)"
|
||||
systemctl --user enable --now pipewire.service &>/dev/null && ok "pipewire.service" || warn "pipewire.service not found"
|
||||
systemctl --user enable --now pipewire-pulse.service &>/dev/null && ok "pipewire-pulse.service" || warn "pipewire-pulse not found"
|
||||
systemctl --user enable --now wireplumber.service &>/dev/null && ok "wireplumber.service" || warn "wireplumber not found"
|
||||
systemctl --user enable --now pipewire.service &>/dev/null && ok "pipewire.service" || warn "pipewire.service not found"
|
||||
systemctl --user enable --now pipewire-pulse.service &>/dev/null && ok "pipewire-pulse.service" || warn "pipewire-pulse not found"
|
||||
systemctl --user enable --now wireplumber.service &>/dev/null && ok "wireplumber.service" || warn "wireplumber not found"
|
||||
|
||||
# HyprPolkitAgent (autentication)
|
||||
systemctl --user enable --now hyprpolkitagent.service &>/dev/null && ok "wireplumber.service" || warn "wireplumber not found"
|
||||
|
||||
phase_done
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue