nix/home/config/sway/module/Resize.nix

12 lines
344 B
Nix

{ ... }: let
stepVertical = 10;
stepHorizontal = 10;
in {
text = ''
bindsym $mod+j resize grow height ${toString stepVertical}px
bindsym $mod+k resize shrink height ${toString stepVertical}px
bindsym $mod+h resize shrink width ${toString stepHorizontal}px
bindsym $mod+l resize grow width ${toString stepHorizontal}px
'';
}