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

14 lines
394 B
Nix

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