Removed commit history
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
commit
b1335a3628
199 changed files with 36930 additions and 0 deletions
26
home/Scripts/sway-exit.sh
Executable file
26
home/Scripts/sway-exit.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
RESP=$(cat <<EOF | fzf
|
||||
Exit
|
||||
Sleep
|
||||
Reboot
|
||||
Shutdown
|
||||
EOF
|
||||
);
|
||||
|
||||
case "$RESP" in
|
||||
Exit)
|
||||
swaymsg exit
|
||||
;;
|
||||
Sleep)
|
||||
systemctl suspend
|
||||
;;
|
||||
Reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
Shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
*)
|
||||
exit 1
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue