Inital Comit Upload Config Files
This commit is contained in:
21
scripts/powermenu.sh
Executable file
21
scripts/powermenu.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
choice=$(printf " Lock\n Suspend\n Reboot\n Shutdown\n Logout" | wofi --dmenu --prompt "Power")
|
||||
|
||||
case "$choice" in
|
||||
" Lock")
|
||||
hyprlock
|
||||
;;
|
||||
" Suspend")
|
||||
systemctl suspend
|
||||
;;
|
||||
" Reboot")
|
||||
systemctl reboot
|
||||
;;
|
||||
" Shutdown")
|
||||
systemctl poweroff
|
||||
;;
|
||||
" Logout")
|
||||
hyprctl dispatch exit
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user