screenlock: Extract screenlock config

Extract screenlock config into its own file.
This commit is contained in:
finga 2024-04-27 15:07:05 +02:00
parent 826ebc678e
commit 23925c9f34
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,6 @@ set $right f
set $term alacritty set $term alacritty
set $editor em set $editor em
set $menu bemenu-run -i -p "" --hf "#009900" --hb "#333333" set $menu bemenu-run -i -p "" --hf "#009900" --hb "#333333"
set $lock fuzzy-swaylock
set $screenshot grim set $screenshot grim
# use mouse + $mod to drag floating windows to their wanted position # use mouse + $mod to drag floating windows to their wanted position
@ -24,9 +23,6 @@ bindsym $mod+Shift+Return exec $editor
# take screenshot # take screenshot
bindsym $mod+Print exec $screenshot bindsym $mod+Print exec $screenshot
# lock screen
bindsym $mod+l exec $lock
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill

View file

@ -0,0 +1,3 @@
# screenlock
set $lock fuzzy-swaylock 37c3
bindsym $mod+Shift+l exec $lock

View file

@ -10,6 +10,7 @@
!/.config/sway/config.d !/.config/sway/config.d
!/.config/sway/config.d/dunst !/.config/sway/config.d/dunst
!/.config/sway/config.d/media !/.config/sway/config.d/media
!/.config/sway/config.d/screenlock
!/.gitignore.d !/.gitignore.d
!/.gitignore.d/sway !/.gitignore.d/sway
!/.local !/.local