Fix rofiprompt command

This commit is contained in:
Jeffrey Serio 2023-08-12 10:16:38 -05:00
parent 030006762e
commit e3e7c653b3

View File

@ -46,19 +46,19 @@ chosen=$(printf '%s;%s;%s;%s;%s\n' "$power_off" "$reboot" "$lock" "$suspend" \
case "$chosen" in case "$chosen" in
"$power_off") "$power_off")
rofi-prompt --query 'Shutdown?' && sudo systemctl poweroff rofiprompt --query 'Shutdown?' && sudo systemctl poweroff
;; ;;
"$reboot") "$reboot")
rofi-prompt --query 'Reboot?' && sudo systemctl reboot rofiprompt --query 'Reboot?' && sudo systemctl reboot
;; ;;
"$lock") "$lock")
rofi-prompt --query 'Lock screen?' && xflock4 rofiprompt --query 'Lock screen?' && xflock4
;; ;;
"$log_out") "$log_out")
rofi-prompt --query 'Logout?' && xfce4-session-logout rofiprompt --query 'Logout?' && xfce4-session-logout
;; ;;
*) exit 1 ;; *) exit 1 ;;