Update .config/polybar/scripts/powermenu.sh
This commit is contained in:
parent
4c013e0fa1
commit
1c3faf7b8a
1 changed files with 54 additions and 58 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue