too many things
This commit is contained in:
10
.config/hypr/tofi_scripts/powermenu.sh
Executable file
10
.config/hypr/tofi_scripts/powermenu.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
case "$(printf "sleep\nreboot\nshutdown\nhybrid-sleep\nhibernate" | tofi --config .config/tofi/powermenu_config)" in
|
||||
sleep) systemctl suspend;;
|
||||
reboot) systemctl reboot;;
|
||||
shutdown) shutdown now ;;
|
||||
hybrid-sleep) hyprlock; systemctl suspend-then-hibernate;;
|
||||
hibernate) systemctl hibernate;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user