Initial commit
This commit is contained in:
commit
5f78d74eca
178 changed files with 1952 additions and 0 deletions
12
.local/bin/scripts/powermenu
Executable file
12
.local/bin/scripts/powermenu
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
CHOSEN=$(printf "Lock\nSuspend\nReboot\nShutdown\nLog Out" | tofi --config "$XDG_CONFIG_HOME"/tofi/config)
|
||||
|
||||
case "$CHOSEN" in
|
||||
"Lock") hyprlock ;;
|
||||
"Suspend") loginctl suspend ;;
|
||||
"Reboot") loginctl reboot ;;
|
||||
"Shutdown") loginctl poweroff ;;
|
||||
"Log Out") hyprctl dispatch exit ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue