Compare commits

...

3 commits

Author SHA1 Message Date
finga a4e7c0d67f fuzzy-i3lock: Use and improve 37c3 fuzzy-i3lock 2024-01-03 10:43:20 +01:00
finga 65f328d09f dunst: Improve dunst keybindings 2024-01-03 10:42:55 +01:00
finga ddbc36926d screens: Add screen 0 2024-01-03 10:42:17 +01:00
2 changed files with 10 additions and 6 deletions

View file

@ -102,6 +102,7 @@ bindsym $mod+q focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
set $ws0 "0"
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
@ -116,6 +117,7 @@ set $ws11 "11"
set $ws12 "12"
# switch to workspace
bindsym $mod+grave workspace $ws0
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
@ -130,6 +132,7 @@ bindsym $mod+minus workspace $ws11
bindsym $mod+equal workspace $ws12
# move focused container to workspace
bindsym $mod+Shift+grave move container to workspace $ws0
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
@ -172,9 +175,9 @@ bindsym XF86AudioPrev exec --no-startup-id mpc prev
bindsym XF86AudioStop exec --no-startup-id mpc stop
# dunst control
bindsym $mod+period exec dunstctl close
bindsym $mod+Shift+period exec dunstctl close-all
bindsym $mod+comma exec dunstctl history-pop
bindsym $mod+comma exec dunstctl close
bindsym $mod+Shift+comma exec dunstctl close-all
bindsym $mod+period exec dunstctl history-pop
# open login screen on another vt (virtual terminal)
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
@ -271,13 +274,14 @@ bar {
}
}
workspace $ws0 output $screen1
workspace $ws1 output $screen1
workspace $ws2 output $screen1
workspace $ws3 output $screen1
workspace $ws4 output $screen1
workspace $ws5 output $screen1
workspace $ws6 output $screen1
workspace $ws6 output $screen2
workspace $ws7 output $screen2
workspace $ws8 output $screen2
workspace $ws9 output $screen2
@ -287,4 +291,4 @@ workspace $ws11 output $screen0
workspace $ws12 output $screen0
# start autolock
exec_always xautolock -time 5 -locker "fuzzy-i3lock"
exec_always xautolock -time 5 -locker "fuzzy-i3lock 37c3"

View file

@ -11,7 +11,7 @@ screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png"
scrot -o "$screenshot"
case $1 in
"37c3") mogrify -scale 10% -scale 1000% -blur 0x1 -dither FloydSteinberg -colors 32 "$screenshot"
"37c3") mogrify -scale 10% -scale 500% -dither FloydSteinberg -colors 32 -scale 200% "$screenshot"
;;
*) mogrify -scale 10% -scale 1000% "$screenshot"
;;