improve poweroff dialog
This commit is contained in:
parent
3f7ea5a737
commit
4457d4e7dd
|
@ -39,7 +39,7 @@ echo "\nXcursor.theme: Breeze" >> ~./Xresources
|
||||||
# merge it into xrdb
|
# merge it into xrdb
|
||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources
|
||||||
|
|
||||||
emacsclient -e '(my-load-xresources)'
|
#emacsclient -e '(my-load-xresources)'
|
||||||
|
|
||||||
xmobar_change
|
xmobar_change
|
||||||
killall xmobar
|
killall xmobar
|
||||||
|
@ -52,7 +52,7 @@ xmonad --restart
|
||||||
# change lock screen background
|
# change lock screen background
|
||||||
#betterlockscreen -u $PATH_TO_IMG
|
#betterlockscreen -u $PATH_TO_IMG
|
||||||
|
|
||||||
|
betterlockscreen -u $PATH_TO_IMG
|
||||||
|
|
||||||
# change login manager screen
|
# change login manager screen
|
||||||
PROJECT_ROOT="/home/os/Documents/Projects/aether-fork" # change this path if needed.
|
PROJECT_ROOT="/home/os/Documents/Projects/aether-fork" # change this path if needed.
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
. "${HOME}/.cache/wal/colors.sh"
|
||||||
|
|
||||||
|
result=$(echo -e "Shutdown\nRestart\nSleep\nLock" | dmenu -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" -p "")
|
||||||
|
case "$result" in
|
||||||
|
("Shutdown") shutdownnow ;;
|
||||||
|
("Restart") reboot ;;
|
||||||
|
("Sleep") systemctl suspend ;;
|
||||||
|
("Lock") betterlockscreen -l ;;
|
||||||
|
esac
|
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
systemctl poweroff
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo reflector --score 100 -l 50 -f 10 --sort rate --save /etc/pacman.d/mirrorlist --verbose
|
Loading…
Reference in New Issue