home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 81264e232e883e9e7b3747c7f3207527a1699e21
parent 400f68736f121663fa7277a66eb50ec758b9aede
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon,  4 Feb 2019 18:50:52 +0100

i3: try i3-gaps 😅

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mmodules/profiles/i3.nix | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/modules/profiles/i3.nix b/modules/profiles/i3.nix @@ -46,6 +46,7 @@ in }; xdg.configFile."alacritty/alacritty.yml".source = ./assets/xorg/alacritty.yml; xsession.windowManager.i3 = { + package = pkgs.i3-gaps; enable = true; config = { fonts = ["Fira Code 10"]; @@ -60,6 +61,10 @@ in keybindings = { "Mod4+Return" = "exec alacritty"; }; + gaps = { + inner = 0; + outer = 0; + }; keycodebindings = { "Mod4+Shift+24" = "kill"; "Mod4+33" = "exec \"${pkgs.rofi}/bin/rofi -show run -modi 'run,window' -kb-row-select 'Tab' -kb-row-tab '' -location 2 -hide-scrollbar -separator-style solid -font 'Ubuntu Mono 14'"; @@ -74,6 +79,16 @@ in "Mod4+Shift+45" = "move down"; "Mod4+Shift+46" = "move up"; "Mod4+Shift+47" = "move right"; + # resize + "Mod4+Control+44" = "resize shrink width 5px or 5ppt"; + "Mod4+Control+45" = "resize grow width 5px or 5ppt"; + "Mod4+Control+46" = "resize shrink hight 5px or 5ppt"; + "Mod4+Control+47" = "resize grow height 5px or 5ppt"; + # gaps + "Mod4+Mod1+44" = "gaps inner current plus 5"; + "Mod4+Mod1+45" = "gaps inner current minus 5"; + "Mod4+Mod1+46" = "gaps outer current plus 5"; + "Mod4+Mod1+47" = "gaps outer current minus 5"; # Split "Mod4+43" = "split h"; "Mod4+55" = "split v";