diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-07-16 19:19:36 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-07-16 19:19:36 +0200 |
commit | 0296921c5f80eb1be0228e03b6fcdbcfaeb6efe7 (patch) | |
tree | 2ee858f9aecfa70ca9dea8788348ed6bc2078055 /bin/lock-screen | |
parent | edad6f39ef07e16bf3f96890895f3f0e114ae349 (diff) |
Whitelist lockscreen keys
Diffstat (limited to 'bin/lock-screen')
-rwxr-xr-x | bin/lock-screen | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/lock-screen b/bin/lock-screen index 273b016..8bb2533 100755 --- a/bin/lock-screen +++ b/bin/lock-screen @@ -2,11 +2,13 @@ main() { tty-clock -r -D -B -s -S - su $USER sh -c '' && bspc wm -r || main + su $USER sh -c '' && (setxkbmap -rules /usr/share/X11/xkb/rules/evdev; bspc wm -r) || main } trap "" 1 2 3 15 20 SIGTSTP +xkbcomp ~/.local/bspwm-setup/lockscreen.xkb $DISPLAY + killall -qw sxhkd polybar bspc node -t fullscreen |