initial commit
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
## Created By Aditya Shakya
|
||||
|
||||
MENU="$(rofi -sep "|" -dmenu -i -p 'System' -width 12 -hide-scrollbar -line-padding 4 -padding 20 -lines 6 <<< " Lock| Logout|Suspend|Hibernate| Reboot| Shutdown")"
|
||||
case "$MENU" in
|
||||
*Lock) light-locker-command -l ;;
|
||||
*Logout) xmonad --exit ;;
|
||||
*Suspend) systemctl suspend;;
|
||||
*Hibernate) systemctl hibernate;;
|
||||
*Shutdown) systemctl -i poweroff ;;
|
||||
*Reboot) systemctl reboot
|
||||
esac
|
||||
Reference in New Issue
Block a user