Compare commits

...

5 commits

2 changed files with 35 additions and 22 deletions

View file

@ -68,25 +68,40 @@
gaps = 10;
default-column-width.proportion = 0.5;
preset-window-heights = [{ proportion = 1.0 / 2.0; }];
focus-ring = {
width = 4;
focus-ring.enable = false;
border = {
enable = true;
width = 2;
active.color = "#35f835e5";
inactive.color = "#80808080";
};
};
workspaces = {
w1 = { name = "admin"; };
w2 = { name = "everything"; };
w3 = { name = "apps"; };
w1.name = "admin";
w2.name = "everything";
w3.name = "apps";
};
window-rules = [{
matches = [{ app-id = "im.riot.Riot"; }];
open-on-workspace = "apps";
}];
window-rules = [
{
matches =
[{ app-id = "^(im\\.riot\\.Riot|WebCord|@joplin/app-desktop)$"; }];
open-on-workspace = "apps";
}
{
geometry-corner-radius = {
top-left = 10.0;
top-right = 10.0;
bottom-right = 10.0;
bottom-left = 10.0;
};
clip-to-geometry = true;
}
];
prefer-no-csd = true;
screenshot-path = "~/screenshots/%Y%m%d%H%m%N.png";
binds = with config.lib.niri.actions; {
"Mod+Space".action = spawn "alacritty";
"Mod+Shift+Space".action = spawn "alacritty -e sudo -i";
"Mod+F1".action = spawn "anyrun";
"Mod+L".action = spawn "hyprlock";
"XF86AudioRaiseVolume" = {
@ -115,13 +130,11 @@
"Mod+S".action = focus-window-or-workspace-down;
"Mod+D".action = focus-column-right;
"Mod+Shift+A".action = move-column-left;
"Mod+Shift+Z".action = move-window-up;
"Mod+Shift+S".action = move-window-down;
"Mod+Shift+Z".action = move-window-up-or-to-workspace-up;
"Mod+Shift+S".action = move-window-down-or-to-workspace-down;
"Mod+Shift+D".action = move-column-right;
"Mod+Page_Up".action = focus-workspace-up;
"Mod+Page_Down".action = focus-workspace-down;
"Mod+Shift+Page_Up".action = move-column-to-workspace-up;
"Mod+Shift+Page_Down".action = move-column-to-workspace-down;
"Mod+WheelScrollDown".action = focus-column-right;
"Mod+WheelScrollUp".action = focus-column-left;
"Mod+Shift+WheelScrollDown".action = move-column-right;

View file

@ -84,11 +84,11 @@
]
},
"locked": {
"lastModified": 1728791962,
"narHash": "sha256-nr5QiXwQcZmf6/auC1UpX8iAtINMtdi2mH+OkqJQVmU=",
"lastModified": 1728903686,
"narHash": "sha256-ZHFrGNWDDriZ4m8CA/5kDa250SG1LiiLPApv1p/JF0o=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "64c6325b28ebd708653dd41d88f306023f296184",
"rev": "e1aec543f5caf643ca0d94b6a633101942fd065f",
"type": "github"
},
"original": {
@ -111,11 +111,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1728829629,
"narHash": "sha256-y3fWim/0mDCSLjvqkmylN5mmVOfvwJG9Mt+Z8qIn44U=",
"lastModified": 1728947084,
"narHash": "sha256-bCC1Abh20wE7qYNO+4Mwly9VQydfB49aGVjTdxr01hQ=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "0a50b261ac5b6cdcc8eb7921a4f022c92b29d1ab",
"rev": "da63f3599316dc2a02c1088197509be0aec743bf",
"type": "github"
},
"original": {
@ -144,11 +144,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1728822376,
"narHash": "sha256-HQc10OfFNie5YocsrJQCN6BOi+CZ0uuGGHGbJFXjgUI=",
"lastModified": 1728918524,
"narHash": "sha256-zDFgW/8+hPDgKuovkK69Yek4ZZZZzY3nuso0Dh/OIa8=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "d7156df8428cb9e6665a212e66c74bdb25842be8",
"rev": "be7fbd418fcee2d2ff9f80aa15f1eb8ff0d83afb",
"type": "github"
},
"original": {