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

12 lines
344 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 = ''
2024-06-23 04:55:57 +03:00
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
2024-04-06 03:03:58 +03:00
'';
}