Initial
This commit is contained in:
commit
c8734e660a
392 changed files with 21043 additions and 0 deletions
23
.config/waybar/scripts/powermenu.sh
Normal file
23
.config/waybar/scripts/powermenu.sh
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
option0=" Lock"
|
||||
option1=" Logout"
|
||||
option2=" Suspend"
|
||||
option3=" Reboot"
|
||||
option4=" Shutdown"
|
||||
|
||||
options="$option0\n$option1\n$option2\n$option3\n$option4\n$option5\n$option6\n$option7"
|
||||
|
||||
chosen="$(echo -e "$options" | fuzzel --lines 5 --dmenu)"
|
||||
case $chosen in
|
||||
$option0)
|
||||
swaylock;;
|
||||
$option1)
|
||||
swaymsg exit;;
|
||||
$option2)
|
||||
systemctl suspend;;
|
||||
$option3)
|
||||
systemctl reboot;;
|
||||
$option4)
|
||||
systemctl poweroff;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue