Update .config/polybar/scripts/powermenu.sh

This commit is contained in:
punkfairie 2024-07-28 17:54:36 -07:00
parent 4c013e0fa1
commit 1c3faf7b8a
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -5,7 +5,7 @@
## Github : @adi1090x
## Twitter : @adi1090x
dir="~/.config/polybar/mytheme/scripts/rofi"
dir="$HOME/.config/polybar/scripts/rofi"
uptime=$(uptime -p | sed -e 's/up //g')
rofi_command="rofi -no-config -theme $dir/powermenu.rasi"
@ -19,11 +19,7 @@ logout=" Logout"
# Confirmation
confirm_exit() {
rofi -dmenu\
-no-config\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
rofi -dmenu -no-config -i -no-fixed-num-lines -p "Are You Sure? : " \
-theme $dir/confirm.rasi
}