Compare commits

..

5 commits

2 changed files with 35 additions and 22 deletions

View file

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

View file

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