From 0b1f079d33a7f13d166662b18922855e314e89e0 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Tue, 10 Jan 2023 22:47:08 -0800 Subject: [PATCH] Add window resizing to i3 config --- i3.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/i3.nix b/i3.nix index 1b32968..8072f62 100644 --- a/i3.nix +++ b/i3.nix @@ -83,6 +83,12 @@ in { "XF86AudioNext" = "exec playerctl next"; "XF86AudioPrev" = "exec playerctl previous"; + # Window resizing + "${mod}+Ctrl+Left" = "resize shrink width 1px or 1ppt"; + "${mod}+Ctrl+Right" = "resize grow width 1px or 1ppt"; + "${mod}+Ctrl+Up" = "resize grow height 1px or 1ppt"; + "${mod}+Ctrl+Down" = "resize shrink height 1px or 1ppt"; + # Screenshots "Print" = "exec flameshot gui"; };