2023-09-29 16:25:56 +02:00
|
|
|
#!/bin/sh
|
|
|
|
# This simple script uses dmenu to ask the user what they wanna do.
|
|
|
|
# Only works with systemd for now.
|
|
|
|
|
|
|
|
cat <<EOF | jgmenu --simple --at-pointer
|
|
|
|
Shutdown, systemctl poweroff
|
|
|
|
Reboot, systemctl reboot
|
|
|
|
Exit, dwmc quit
|
2023-09-30 15:57:09 +02:00
|
|
|
Restart dwm, dwmc self_restart
|
2023-09-29 16:25:56 +02:00
|
|
|
Lock session, slock
|
|
|
|
Suspend, systemctl suspend
|
|
|
|
Hibernate, systemctl hibernate
|
|
|
|
Kill X, xkill -a
|
|
|
|
EOF
|