summaryrefslogtreecommitdiffstats
path: root/.local/bin/powercmd
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2023-02-01 02:04:55 +0100
committerJoe <bousset.rudy@gmail.com>2023-02-01 02:04:55 +0100
commit587b1e5dcb696e35ebc013b248b4b86e998b5a9f (patch)
tree00ad66e81d344942104df626053e4865ced9c568 /.local/bin/powercmd
parentMerge branch 'master' of gitjoe.xyz:dotfiles-bsd (diff)
downloaddotfiles-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 '.local/bin/powercmd')
-rwxr-xr-x.local/bin/powercmd2
1 files changed, 1 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