This commit is contained in:
The-Repo-Club 2023-07-23 15:00:37 +01:00
parent 03359cf804
commit fa248c27d8
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
3 changed files with 15 additions and 14 deletions

View File

@ -40,6 +40,8 @@ warnaboutpackageupdates =
sudoloopinterval = 59
pacmanpath = pacman
privilegeescalationtool = sudo
privilegeescalationtarget = pikaur
userid = 0
[network]
aururl = https://aur.archlinux.org

View File

@ -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

View File

@ -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"