mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-06 02:53:39 -08:00
add stuff
This commit is contained in:
12
scripts/powermenu_old
Executable file
12
scripts/powermenu_old
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
#MENU="$(rofi -sep "|" -dmenu -i -p 'System' -location 5 -xoffset -14 -yoffset -52 -width 10 -hide-scrollbar -line-padding 4 -padding 20 -lines 4 <<< " Lock| Logout| Reboot| Shutdown")"
|
||||
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -location 5 -xoffset -14 -yoffset -52 -width 10 -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
|
||||
Reference in New Issue
Block a user