diff options
author | Joe <bousset.rudy@gmail.com> | 2023-02-01 02:04:55 +0100 |
---|---|---|
committer | Joe <bousset.rudy@gmail.com> | 2023-02-01 02:04:55 +0100 |
commit | 587b1e5dcb696e35ebc013b248b4b86e998b5a9f (patch) | |
tree | 00ad66e81d344942104df626053e4865ced9c568 /.local/bin | |
parent | Merge branch 'master' of gitjoe.xyz:dotfiles-bsd (diff) | |
download | dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.gz dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.bz2 dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.xz dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.tar.zst dotfiles-bsd-587b1e5dcb696e35ebc013b248b4b86e998b5a9f.zip |
up
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/powercmd | 2 | ||||
-rwxr-xr-x | .local/bin/rkb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.local/bin/powercmd b/.local/bin/powercmd index 9f85e39..9b83e4b 100755 --- a/.local/bin/powercmd +++ b/.local/bin/powercmd @@ -31,7 +31,7 @@ case $1 in xscreensaver-command -lock sleep 5 case $os in - 1) loginctl hibernate ;; + 1) loginctl suspend ;; 2) systemctl suspend ;; 3) acpiconf -s 3 ;; esac diff --git a/.local/bin/rkb b/.local/bin/rkb new file mode 100755 index 0000000..fd8fe26 --- /dev/null +++ b/.local/bin/rkb @@ -0,0 +1,4 @@ +#!/bin/sh + +notify-send -u low -t 2000 'kb' ' Restored Ctrl/Caps Lock and Esc/Tab' +setxkbmap -option |