improve poweroff dialog

This commit is contained in:
qvalentin 2021-10-05 13:18:32 +02:00
parent 3f7ea5a737
commit 4457d4e7dd
4 changed files with 15 additions and 4 deletions

View File

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

10
.scripts/powerbutton Executable file
View File

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

View File

@ -1,2 +0,0 @@
#!/bin/bash
systemctl poweroff

3
.scripts/update_mirrors Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
sudo reflector --score 100 -l 50 -f 10 --sort rate --save /etc/pacman.d/mirrorlist --verbose