Initial commit
This commit is contained in:
commit
35c1f8d629
30 changed files with 2520 additions and 0 deletions
26
.config/waybar/power.sh
Executable file
26
.config/waybar/power.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#! /bin/bash
|
||||
|
||||
case "$(fuzzel --dmenu <<EOF)" in
|
||||
log out
|
||||
power off
|
||||
reboot
|
||||
soft reboot
|
||||
do nothing
|
||||
EOF
|
||||
|
||||
"log out")
|
||||
riverctl exit
|
||||
;;
|
||||
|
||||
"power off")
|
||||
systemctl poweroff
|
||||
;;
|
||||
|
||||
"reboot")
|
||||
systemctl reboot
|
||||
;;
|
||||
|
||||
"soft reboot")
|
||||
systemctl soft-reboot
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue