mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
12 lines
421 B
Bash
Executable File
12 lines
421 B
Bash
Executable File
#!/bin/bash
|
|
|
|
## Created By Aditya Shakya
|
|
|
|
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
|
|
case "$MENU" in
|
|
*Lock) i3lock-fancy ;;
|
|
*Logout) openbox --exit;;
|
|
*Reboot) systemctl reboot ;;
|
|
*Shutdown) systemctl -i poweroff
|
|
esac
|