diff --git a/config/.config/pikaur.conf b/config/.config/pikaur.conf index b03560796..bcc7c05f0 100644 --- a/config/.config/pikaur.conf +++ b/config/.config/pikaur.conf @@ -40,6 +40,8 @@ warnaboutpackageupdates = sudoloopinterval = 59 pacmanpath = pacman privilegeescalationtool = sudo +privilegeescalationtarget = pikaur +userid = 0 [network] aururl = https://aur.archlinux.org diff --git a/fish/.config/fish/functions/99_pacman.fish b/fish/.config/fish/functions/99_pacman.fish index 4443261f0..7924e112d 100644 --- a/fish/.config/fish/functions/99_pacman.fish +++ b/fish/.config/fish/functions/99_pacman.fish @@ -19,12 +19,13 @@ function pacman command sudo pacman --color auto -Qttdq | command sudo pacman --color auto -Rns - end else if [ "$argv" = --upall ] + sudo pkgfile -u command sudo pacman -Fy command sudo pacman -Sy - command pikaur -Su - command auracle update -C ~/.cache/pkgs/ + sudo pikaur -Su + auracle update -C ~/.cache/pkgs/ else if [ "$argv" = --pacsync ] - command pacsync + pacsync else command sudo pacman --color auto $argv end @@ -46,5 +47,5 @@ end # Pacman unlock function unlock - command sudo rm /var/lib/pacman/db.lck + sudo rm /var/lib/pacman/db.lck end diff --git a/rofi/.local/bin/rofi/powermenu b/rofi/.local/bin/rofi/powermenu index 0a2d1e568..487f8d630 100755 --- a/rofi/.local/bin/rofi/powermenu +++ b/rofi/.local/bin/rofi/powermenu @@ -12,7 +12,7 @@ #Created: # Wed 07 December 2022, 11:01:52 PM [GMT] #Modified: -# Mon 16 January 2023, 05:21:19 PM [GMT] +# Sat 22 July 2023, 09:46:55 PM [GMT+1] # #Description: # This script defines just a mode for rofi instead of being a self-contained @@ -44,7 +44,6 @@ show=("${all[@]}") declare -A texts texts[lockscreen]="lock screen" -texts[switchuser]="switch user" texts[logout]="log out" texts[suspend]="suspend" texts[hibernate]="hibernate" @@ -52,14 +51,13 @@ texts[reboot]="reboot" texts[shutdown]="shut down" declare -A icons -icons[lockscreen]="\uf023" -icons[switchuser]="\uf518" -icons[logout]="\uf842" -icons[suspend]="\uf9b1" -icons[hibernate]="\uf7c9" -icons[reboot]="\ufc07" -icons[shutdown]="\uf011" -icons[cancel]="\u00d7" +icons[lockscreen]="" +icons[logout]="󰍃" +icons[suspend]="󰒲" +icons[hibernate]="󰋊" +icons[reboot]="󰜉" +icons[shutdown]="󰐥" +icons[cancel]="" declare -A actions actions[lockscreen]="loginctl lock-session"