Compare commits

...

2 commits

Author SHA1 Message Date
75fb1fccba fix(niri): bindings adapted for ahrc-pc 2024-10-15 17:24:54 +02:00
3266d41529 fix: add niri module to ahrc-pc 2024-10-15 17:23:36 +02:00
4 changed files with 21 additions and 8 deletions

View file

@ -48,6 +48,14 @@
"Alt+TouchpadScrollDown".action = spawn "brightnessctl" "set" "10-";
"Alt+TouchpadScrollUp".action = spawn "brightnessctl" "set" "+10";
"XF86Display".action = power-off-monitors;
"Mod+ampersand".action = focus-workspace 1;
"Mod+eacute".action = focus-workspace 2;
"Mod+quotedbl".action = focus-workspace 3;
"Mod+apostrophe".action = focus-workspace 4;
"Mod+Shift+ampersand".action = move-column-to-workspace 1;
"Mod+Shift+eacute".action = move-column-to-workspace 2;
"Mod+Shift+quotedbl".action = move-column-to-workspace 3;
"Mod+Shift+apostrophe".action = move-column-to-workspace 4;
};
};
}

View file

@ -1,3 +1,5 @@
{ config, ... }:
{
imports = [ ../common/home.nix ];
@ -15,5 +17,15 @@
input.keyboard.xkb.layout = "us";
outputs."HDMI-1".scale = 1;
layout.border.active.color = "#d966ff";
binds = with config.lib.niri.actions; {
"Mod+1".action = focus-workspace 1;
"Mod+2".action = focus-workspace 2;
"Mod+3".action = focus-workspace 3;
"Mod+4".action = focus-workspace 4;
"Mod+Shift+1".action = move-column-to-workspace 1;
"Mod+Shift+2".action = move-column-to-workspace 2;
"Mod+Shift+3".action = move-column-to-workspace 3;
"Mod+Shift+4".action = move-column-to-workspace 4;
};
};
}

View file

@ -356,14 +356,6 @@
"Mod+WheelScrollUp".action = focus-column-left;
"Mod+Shift+WheelScrollDown".action = move-column-right;
"Mod+Shift+WheelScrollUp".action = move-column-left;
"Mod+ampersand".action = focus-workspace 1;
"Mod+eacute".action = focus-workspace 2;
"Mod+quotedbl".action = focus-workspace 3;
"Mod+apostrophe".action = focus-workspace 4;
"Mod+Shift+ampersand".action = move-column-to-workspace 1;
"Mod+Shift+eacute".action = move-column-to-workspace 2;
"Mod+Shift+quotedbl".action = move-column-to-workspace 3;
"Mod+Shift+apostrophe".action = move-column-to-workspace 4;
"Mod+Tab".action = focus-workspace-previous;
"Mod+F".action = maximize-column;
"Mod+W".action = set-column-width "-10%";

View file

@ -21,6 +21,7 @@
home-manager.users.ahurac.imports = [
flatpaks.homeManagerModules.nix-flatpak
anyrun.homeManagerModules.default
niri.homeModules.niri
./ahrc-pc/home.nix
];
}