mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 08:33:06 +01:00
Fix rofiprompt command
This commit is contained in:
parent
030006762e
commit
e3e7c653b3
@ -46,19 +46,19 @@ chosen=$(printf '%s;%s;%s;%s;%s\n' "$power_off" "$reboot" "$lock" "$suspend" \
|
||||
|
||||
case "$chosen" in
|
||||
"$power_off")
|
||||
rofi-prompt --query 'Shutdown?' && sudo systemctl poweroff
|
||||
rofiprompt --query 'Shutdown?' && sudo systemctl poweroff
|
||||
;;
|
||||
|
||||
"$reboot")
|
||||
rofi-prompt --query 'Reboot?' && sudo systemctl reboot
|
||||
rofiprompt --query 'Reboot?' && sudo systemctl reboot
|
||||
;;
|
||||
|
||||
"$lock")
|
||||
rofi-prompt --query 'Lock screen?' && xflock4
|
||||
rofiprompt --query 'Lock screen?' && xflock4
|
||||
;;
|
||||
|
||||
"$log_out")
|
||||
rofi-prompt --query 'Logout?' && xfce4-session-logout
|
||||
rofiprompt --query 'Logout?' && xfce4-session-logout
|
||||
;;
|
||||
|
||||
*) exit 1 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user