diff --git a/.config/i3/config b/.config/i3/config index a4b23b6..fd40ab6 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -102,7 +102,6 @@ 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" @@ -117,7 +116,6 @@ 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 @@ -132,7 +130,6 @@ 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 @@ -175,9 +172,9 @@ bindsym XF86AudioPrev exec --no-startup-id mpc prev bindsym XF86AudioStop exec --no-startup-id mpc stop # dunst control -bindsym $mod+comma exec dunstctl close -bindsym $mod+Shift+comma exec dunstctl close-all -bindsym $mod+period exec dunstctl history-pop +bindsym $mod+period exec dunstctl close +bindsym $mod+Shift+period exec dunstctl close-all +bindsym $mod+comma exec dunstctl history-pop # open login screen on another vt (virtual terminal) bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter" @@ -274,14 +271,13 @@ 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 @@ -291,4 +287,4 @@ workspace $ws11 output $screen0 workspace $ws12 output $screen0 # start autolock -exec_always xautolock -time 5 -locker "fuzzy-i3lock 37c3" +exec_always xautolock -time 5 -locker "fuzzy-i3lock" diff --git a/.local/bin/fuzzy-i3lock b/.local/bin/fuzzy-i3lock index 7890925..f018b60 100755 --- a/.local/bin/fuzzy-i3lock +++ b/.local/bin/fuzzy-i3lock @@ -11,7 +11,7 @@ screenshot="${TMPDIR:-/tmp}/fuzzy-i3lock.png" scrot -o "$screenshot" case $1 in - "37c3") mogrify -scale 10% -scale 500% -dither FloydSteinberg -colors 32 -scale 200% "$screenshot" + "37c3") mogrify -scale 10% -scale 1000% -blur 0x1 -dither FloydSteinberg -colors 32 "$screenshot" ;; *) mogrify -scale 10% -scale 1000% "$screenshot" ;;