update dwm config and dmenu-powermenu

This commit is contained in:
wt committed 2024-11-06 20:14:51 +07:00
1 parent 89e0fdb80b
commit a68fe93d1f
2 files changed
+5 -3

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
#!/bin/sh
case "$(printf "Shutdown\nRestart\nLogout\nSuspend\nLock" | dmenu \
-i -z 200 -p \
"Power:" -l 5)" in
-i -x 550 -y 300 -z 200 -p \
"" -l 5)" in
Shutdown) exec systemctl poweroff;;
Restart) exec systemctl reboot;;
Logout) kill -HUP $XDG_SESSION_PID;;