diff --git a/dot_config/sway/modes.conf b/dot_config/sway/modes.conf index 0642025..3f7a62a 100644 --- a/dot_config/sway/modes.conf +++ b/dot_config/sway/modes.conf @@ -9,25 +9,25 @@ mode --pango_markup $mode_resize { # right will grow the containers width # up will shrink the containers height # down will grow the containers height - $bindsym $left resize shrink width 10px - $bindsym $down resize grow height 10px - $bindsym $up resize shrink height 10px - $bindsym $right resize grow width 10px + $bindsym $left resize shrink width $resizestepsize + $bindsym $down resize grow height $resizestepsize + $bindsym $up resize shrink height $resizestepsize + $bindsym $right resize grow width $resizestepsize - $bindsym $left_alt resize shrink width 10px - $bindsym $down_alt resize grow height 10px - $bindsym $up_alt resize shrink height 10px - $bindsym $right_alt resize grow width 10px + $bindsym $left_alt resize shrink width $resizestepsize + $bindsym $down_alt resize grow height $resizestepsize + $bindsym $up_alt resize shrink height $resizestepsize + $bindsym $right_alt resize grow width $resizestepsize - $bindsym Shift+$left resize shrink width 50px - $bindsym Shift+$down resize grow height 50px - $bindsym Shift+$up resize shrink height 50px - $bindsym Shift+$right resize grow width 50px + $bindsym Shift+$left resize shrink width $resizestepsize + $bindsym Shift+$down resize grow height $resizestepsize + $bindsym Shift+$up resize shrink height $resizestepsize + $bindsym Shift+$right resize grow width $resizestepsize - $bindsym Shift+$left_alt resize shrink width 50px - $bindsym Shift+$down_alt resize grow height 50px - $bindsym Shift+$up_alt resize shrink height 50px - $bindsym Shift+$right_alt resize grow width 50px + $bindsym Shift+$left_alt resize shrink width $resizestepsize + $bindsym Shift+$down_alt resize grow height $resizestepsize + $bindsym Shift+$up_alt resize shrink height $resizestepsize + $bindsym Shift+$right_alt resize grow width $resizestepsize ## Resize // Window Gaps // + - ## $bindsym minus gaps inner current minus 5px diff --git a/dot_config/sway/variables.conf b/dot_config/sway/variables.conf index fcf489b..668b334 100644 --- a/dot_config/sway/variables.conf +++ b/dot_config/sway/variables.conf @@ -10,6 +10,8 @@ set $background $HOME/pictures/wallpapers/iceland.jpg set $swayconfig $HOME/.config/sway set $swayscripts $swayconfig/scripts +# resize behaviour +set $resizestepsize 30px ### ### Variables