From 73e846b38365f7295323c1edc18892801385b5b5 Mon Sep 17 00:00:00 2001 From: Thies Lennart Alff Date: Fri, 16 Feb 2024 14:24:31 +0100 Subject: [PATCH] fixed locking --- .config/sway/config | 8 ++++---- .config/swaylock/config | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index f11c90f..f1c7a1a 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -28,7 +28,7 @@ exec eval $(gnome-keyring-daemon --start) exec export SSH_AUTH_SOCK exec swayidle -w \ - timeout 300 '$lock -f' \ + timeout 300 '$lock -f'\ timeout 310 'swaymsg "output * power off"'\ resume 'swaymsg "output * power on"' \ before-sleep $lock @@ -37,6 +37,7 @@ bindsym $mod+Shift+Ctrl+l exec $lock exec swaybg -c#000000 -m solid_color bindsym $mod+Return exec $term +bindsym $mod+Shift+Return exec $term -e zsh -ic 'rosterm' bindsym $mod+d exec $menu bindsym $mod+Shift+r restart @@ -46,11 +47,10 @@ bindsym $mod+Shift+q kill bindsym $mod+Shift+s exec grim -g "$(slurp)" - | swappy -f - mode "$mode_exit" { - bindsym l exec --no-startup-id $locker, mode "default" - bindsym o exec --no-startup-id i3-msg exit, mode "default" + bindsym l exec --no-startup-id $lock, mode "default" + bindsym o exec --no-startup-id swaymsg exit, mode "default" bindsym r exec --no-startup-id reboot, mode "default" bindsym s exec --no-startup-id systemctl poweroff -i, mode "default" - bindsym e exec swaymsg exit, mode "default" bindsym Escape mode "default" bindsym Return mode "default" } diff --git a/.config/swaylock/config b/.config/swaylock/config index 8b86fe3..710d3a1 100644 --- a/.config/swaylock/config +++ b/.config/swaylock/config @@ -1,4 +1,4 @@ font=Sans indicator-radius=240 indicator-thicknes=10 - +color=303446