Update dmenu-powermenu
This commit is contained in:
1 file changed
+8
-8
+8
-8
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
case "$(printf "Shutdown\nRestart\nLogout\nSuspend\nLock")" | dmenu \
|
case "$(printf "Shutdown\nRestart\nLogout\nSuspend\nLock" | dmenu \
|
||||||
-i -p \
|
-i -p \
|
||||||
"Power:" -l 5)" in
|
"Power:" -l 5)" in
|
||||||
Shutdown) exec systemctl poweroff;;
|
Shutdown) exec systemctl poweroff;;
|
||||||
Restart) exec systemctl reboot;;
|
Restart) exec systemctl reboot;;
|
||||||
Logout) killall startdwm.sh;;
|
Logout) kill -HUP $XDG_SESSION_PID;;
|
||||||
Suspend) exec systemctl suspend;;
|
Suspend) exec systemctl suspend;;
|
||||||
Lock) exec systemctl --user start lock.target;;
|
Lock) exec systemctl --user start lock.target;;
|
||||||
esac
|
esac
|
||||||
Reference in new issue
Block a user