Removed locker, revert to blurlock (default)

This commit is contained in:
Henrik Bakken
2021-06-05 00:12:29 +02:00
parent 9149fdd89b
commit 73c167a790
3 changed files with 4 additions and 15 deletions
-11
View File
@@ -1,11 +0,0 @@
#!/bin/bash
set -eu
RESOLUTION=$(xrandr -q|sed -n 's/.*current[ ]\([0-9]*\) x \([0-9]*\),.*/\1x\2/p')
# lock the screen
import -silent -window root jpeg:- | convert - -scale 20% -blur 0x2.5 -resize 500% RGB:- | \
i3lock --raw $RESOLUTION:rgb -i /dev/stdin -e $@
# TODO fix - doesn't lock!
exit 0
+2 -2
View File
@@ -34,7 +34,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id nitrogen --restore exec --no-startup-id nitrogen --restore
exec --no-startup-id xfce4-power-manager exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray exec --no-startup-id pamac-tray
exec --no-startup-id xautolock -time 30 -locker ~/dotfiles/HOME/locker.sh exec --no-startup-id xautolock -time 10 -locker blurlock
exec --no-startup-id blueman-applet exec --no-startup-id blueman-applet
exec_always --no-startup-id sbxkb exec_always --no-startup-id sbxkb
exec_always --no-startup-id fix_xcursor exec_always --no-startup-id fix_xcursor
@@ -184,7 +184,7 @@ for_window [class="qt5ct"] floating enable sticky enable border normal
# Set shut down, restart and locking features # Set shut down, restart and locking features
set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id sh ~/locker.sh, mode "default" bindsym l exec --no-startup-id i3exit lock, mode "default"
bindsym u exec --no-startup-id i3exit switch_user, mode "default" bindsym u exec --no-startup-id i3exit switch_user, mode "default"
bindsym e exec --no-startup-id i3exit logout, mode "default" bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym r exec --no-startup-id i3exit reboot, mode "default"
+2 -2
View File
@@ -34,7 +34,7 @@ exec --no-startup-id nm-applet
exec --no-startup-id nitrogen --restore exec --no-startup-id nitrogen --restore
exec --no-startup-id xfce4-power-manager exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray exec --no-startup-id pamac-tray
exec --no-startup-id xautolock -time 30 -locker ~/dotfiles/HOME/locker.sh exec --no-startup-id xautolock -time 10 -locker blurlock
exec --no-startup-id blueman-applet exec --no-startup-id blueman-applet
exec_always --no-startup-id sbxkb exec_always --no-startup-id sbxkb
exec_always --no-startup-id fix_xcursor exec_always --no-startup-id fix_xcursor
@@ -179,7 +179,7 @@ for_window [class="qt5ct"] floating enable sticky enable border normal
# Set shut down, restart and locking features # Set shut down, restart and locking features
set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown set $mode_system (l)ock, (e)xit, switch_(u)ser, (r)eboot, (s)hutdown
mode "$mode_system" { mode "$mode_system" {
bindsym l exec --no-startup-id sh ~/locker.sh, mode "default" bindsym l exec --no-startup-id i3exit lock, mode "default"
bindsym u exec --no-startup-id i3exit switch_user, mode "default" bindsym u exec --no-startup-id i3exit switch_user, mode "default"
bindsym e exec --no-startup-id i3exit logout, mode "default" bindsym e exec --no-startup-id i3exit logout, mode "default"
bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym r exec --no-startup-id i3exit reboot, mode "default"