nix/home/file/sway/module/Resize.nix

12 lines
384 B
Nix
Raw Normal View History

2024-11-04 04:37:29 +03:00
{ ... }: let
stepHorizontal = 10;
stepVertical = 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
'';
2024-04-06 03:03:58 +03:00
}