diff options
author | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-07-16 16:55:49 +0200 |
---|---|---|
committer | HimbeerserverDE <himbeerserverde@gmail.com> | 2022-07-16 16:55:49 +0200 |
commit | a300e8d16d113d2e1e9332f2b059200721dc1368 (patch) | |
tree | debde4b1d00ee655ce5931a0d3bc1c861b6903d9 | |
parent | c81390d2c03e686eb28be0647342a037239722bd (diff) |
Ditch i3lock-fancy and use custom tty-clock screensaver instead
-rwxr-xr-x | bin/lock-screen | 15 | ||||
-rwxr-xr-x | install.sh | 1 | ||||
-rw-r--r-- | sxhkdrc | 2 |
3 files changed, 16 insertions, 2 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 @@ -30,7 +30,6 @@ if command_exists apt; then rofi \ polybar \ scrot \ - i3lock-fancy \ feh \ picom \ dunst \ @@ -48,7 +48,7 @@ XF86MonBrightnessUp # lock screen super + l - i3lock-fancy + ~/.local/kitty.app/bin/kitty -- ~/bin/lock-screen # power off/reboot/hibernate super + alt + {s,a,y} |