10 lines
202 B
Bash
10 lines
202 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
ANS="$(printf "Lock\nShutdown\nReboot\nExit" | dmenu -i -p 'System')"
|
||
|
case "$ANS" in
|
||
|
Lock) i3lock -c 000000;;
|
||
|
Shutdown) sudo init 0;;
|
||
|
Reboot) sudo reboot;;
|
||
|
Exit) i3-msg exit
|
||
|
esac
|