blob: ac9d7e82ed22f4b645ab240093324fa07367aaf8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
ANS="$(printf "Lock\nSuspend\nShutdown\nReboot\nFirmware\nExit" | dmenu -i -p 'System')"
case "$ANS" in
Lock) i3lock -c 000000;;
Suspend) systemctl suspend;;
Shutdown) poweroff;;
Reboot) reboot;;
Firmware) systemctl reboot --firmware-setup;;
Exit) loginctl kill-session self
esac
|