mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-25 10:23:42 +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
|
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 ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user