From 23925c9f34aa3bc486d537e81bc28fc6b3e752a4 Mon Sep 17 00:00:00 2001 From: finga Date: Sat, 27 Apr 2024 15:07:05 +0200 Subject: [PATCH] screenlock: Extract screenlock config Extract screenlock config into its own file. --- .config/sway/config | 4 ---- .config/sway/config.d/screenlock | 3 +++ .gitignore.d/sway | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 .config/sway/config.d/screenlock diff --git a/.config/sway/config b/.config/sway/config index 628288a..10e6c6d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -9,7 +9,6 @@ set $right f set $term alacritty set $editor em set $menu bemenu-run -i -p "" --hf "#009900" --hb "#333333" -set $lock fuzzy-swaylock set $screenshot grim # use mouse + $mod to drag floating windows to their wanted position @@ -24,9 +23,6 @@ bindsym $mod+Shift+Return exec $editor # take screenshot bindsym $mod+Print exec $screenshot -# lock screen -bindsym $mod+l exec $lock - # kill focused window bindsym $mod+Shift+q kill diff --git a/.config/sway/config.d/screenlock b/.config/sway/config.d/screenlock new file mode 100644 index 0000000..019985c --- /dev/null +++ b/.config/sway/config.d/screenlock @@ -0,0 +1,3 @@ +# screenlock +set $lock fuzzy-swaylock 37c3 +bindsym $mod+Shift+l exec $lock diff --git a/.gitignore.d/sway b/.gitignore.d/sway index c6b9e9b..e4ec63a 100644 --- a/.gitignore.d/sway +++ b/.gitignore.d/sway @@ -10,6 +10,7 @@ !/.config/sway/config.d !/.config/sway/config.d/dunst !/.config/sway/config.d/media +!/.config/sway/config.d/screenlock !/.gitignore.d !/.gitignore.d/sway !/.local