12 lines
445 B
Plaintext
12 lines
445 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
## Created By Aditya Shakya
|
||
|
|
||
|
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 -font "Misc Termsyn 12" <<< " Lock| Logout| Reboot| Shutdown")"
|
||
|
case "$MENU" in
|
||
|
*Lock) i3lock-fancy ;;
|
||
|
*Logout) openbox --exit;;
|
||
|
*Reboot) systemctl reboot ;;
|
||
|
*Shutdown) systemctl -i poweroff
|
||
|
esac
|