mirror of
https://github.com/The-Repo-Club/DotFiles.git
synced 2024-11-24 16:28:41 -05:00
Booya
This commit is contained in:
parent
03359cf804
commit
fa248c27d8
@ -40,6 +40,8 @@ warnaboutpackageupdates =
|
||||
sudoloopinterval = 59
|
||||
pacmanpath = pacman
|
||||
privilegeescalationtool = sudo
|
||||
privilegeescalationtarget = pikaur
|
||||
userid = 0
|
||||
|
||||
[network]
|
||||
aururl = https://aur.archlinux.org
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user