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 sudoloopinterval = 59
pacmanpath = pacman pacmanpath = pacman
privilegeescalationtool = sudo privilegeescalationtool = sudo
privilegeescalationtarget = pikaur
userid = 0
[network] [network]
aururl = https://aur.archlinux.org 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 - command sudo pacman --color auto -Qttdq | command sudo pacman --color auto -Rns -
end end
else if [ "$argv" = --upall ] else if [ "$argv" = --upall ]
sudo pkgfile -u
command sudo pacman -Fy command sudo pacman -Fy
command sudo pacman -Sy command sudo pacman -Sy
command pikaur -Su sudo pikaur -Su
command auracle update -C ~/.cache/pkgs/ auracle update -C ~/.cache/pkgs/
else if [ "$argv" = --pacsync ] else if [ "$argv" = --pacsync ]
command pacsync pacsync
else else
command sudo pacman --color auto $argv command sudo pacman --color auto $argv
end end
@ -46,5 +47,5 @@ end
# Pacman unlock # Pacman unlock
function unlock function unlock
command sudo rm /var/lib/pacman/db.lck sudo rm /var/lib/pacman/db.lck
end end

View File

@ -12,7 +12,7 @@
#Created: #Created:
# Wed 07 December 2022, 11:01:52 PM [GMT] # Wed 07 December 2022, 11:01:52 PM [GMT]
#Modified: #Modified:
# Mon 16 January 2023, 05:21:19 PM [GMT] # Sat 22 July 2023, 09:46:55 PM [GMT+1]
# #
#Description: #Description:
# This script defines just a mode for rofi instead of being a self-contained # This script defines just a mode for rofi instead of being a self-contained
@ -44,7 +44,6 @@ show=("${all[@]}")
declare -A texts declare -A texts
texts[lockscreen]="lock screen" texts[lockscreen]="lock screen"
texts[switchuser]="switch user"
texts[logout]="log out" texts[logout]="log out"
texts[suspend]="suspend" texts[suspend]="suspend"
texts[hibernate]="hibernate" texts[hibernate]="hibernate"
@ -52,14 +51,13 @@ texts[reboot]="reboot"
texts[shutdown]="shut down" texts[shutdown]="shut down"
declare -A icons declare -A icons
icons[lockscreen]="\uf023" icons[lockscreen]=""
icons[switchuser]="\uf518" icons[logout]="󰍃"
icons[logout]="\uf842" icons[suspend]="󰒲"
icons[suspend]="\uf9b1" icons[hibernate]="󰋊"
icons[hibernate]="\uf7c9" icons[reboot]="󰜉"
icons[reboot]="\ufc07" icons[shutdown]="󰐥"
icons[shutdown]="\uf011" icons[cancel]=""
icons[cancel]="\u00d7"
declare -A actions declare -A actions
actions[lockscreen]="loginctl lock-session" actions[lockscreen]="loginctl lock-session"