summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.local/bin/powercmd2
-rwxr-xr-x.local/bin/rkb4
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