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

12 lines
384 B
Nix
Raw Normal View History

2024-06-23 04:55:57 +03:00
{ ... }: let
stepVertical = 10;
stepHorizontal = 10;
in {
2024-04-06 03:03:58 +03:00
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
'';
}