diff options
Diffstat (limited to 'bin/lock-screen')
-rwxr-xr-x | bin/lock-screen | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/bin/lock-screen b/bin/lock-screen new file mode 100755 index 0000000..273b016 --- /dev/null +++ b/bin/lock-screen @@ -0,0 +1,15 @@ +#! /bin/bash + +main() { + tty-clock -r -D -B -s -S + su $USER sh -c '' && bspc wm -r || main +} + +trap "" 1 2 3 15 20 SIGTSTP + +killall -qw sxhkd polybar +bspc node -t fullscreen + +sleep 1 + +main |