Compare commits
2 commits
56a4476537
...
75fb1fccba
Author | SHA1 | Date | |
---|---|---|---|
75fb1fccba | |||
3266d41529 |
4 changed files with 21 additions and 8 deletions
|
@ -48,6 +48,14 @@
|
||||||
"Alt+TouchpadScrollDown".action = spawn "brightnessctl" "set" "10-";
|
"Alt+TouchpadScrollDown".action = spawn "brightnessctl" "set" "10-";
|
||||||
"Alt+TouchpadScrollUp".action = spawn "brightnessctl" "set" "+10";
|
"Alt+TouchpadScrollUp".action = spawn "brightnessctl" "set" "+10";
|
||||||
"XF86Display".action = power-off-monitors;
|
"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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../common/home.nix ];
|
imports = [ ../common/home.nix ];
|
||||||
|
|
||||||
|
@ -15,5 +17,15 @@
|
||||||
input.keyboard.xkb.layout = "us";
|
input.keyboard.xkb.layout = "us";
|
||||||
outputs."HDMI-1".scale = 1;
|
outputs."HDMI-1".scale = 1;
|
||||||
layout.border.active.color = "#d966ff";
|
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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -356,14 +356,6 @@
|
||||||
"Mod+WheelScrollUp".action = focus-column-left;
|
"Mod+WheelScrollUp".action = focus-column-left;
|
||||||
"Mod+Shift+WheelScrollDown".action = move-column-right;
|
"Mod+Shift+WheelScrollDown".action = move-column-right;
|
||||||
"Mod+Shift+WheelScrollUp".action = move-column-left;
|
"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+Tab".action = focus-workspace-previous;
|
||||||
"Mod+F".action = maximize-column;
|
"Mod+F".action = maximize-column;
|
||||||
"Mod+W".action = set-column-width "-10%";
|
"Mod+W".action = set-column-width "-10%";
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
home-manager.users.ahurac.imports = [
|
home-manager.users.ahurac.imports = [
|
||||||
flatpaks.homeManagerModules.nix-flatpak
|
flatpaks.homeManagerModules.nix-flatpak
|
||||||
anyrun.homeManagerModules.default
|
anyrun.homeManagerModules.default
|
||||||
|
niri.homeModules.niri
|
||||||
./ahrc-pc/home.nix
|
./ahrc-pc/home.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue