Compare commits

..

No commits in common. "394dfac8382e5f6f9df6868abc6dc5dbca69eee1" and "41df33c7aeda383ae16f5e2ab2993ce17836f78b" have entirely different histories.

2 changed files with 22 additions and 35 deletions

View file

@ -68,40 +68,25 @@
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.enable = false; focus-ring = {
border = { width = 4;
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 = open-on-workspace = "apps";
[{ 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; 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" = {
@ -130,11 +115,13 @@
"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-or-to-workspace-up; "Mod+Shift+Z".action = move-window-up;
"Mod+Shift+S".action = move-window-down-or-to-workspace-down; "Mod+Shift+S".action = move-window-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": 1728903686, "lastModified": 1728791962,
"narHash": "sha256-ZHFrGNWDDriZ4m8CA/5kDa250SG1LiiLPApv1p/JF0o=", "narHash": "sha256-nr5QiXwQcZmf6/auC1UpX8iAtINMtdi2mH+OkqJQVmU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "e1aec543f5caf643ca0d94b6a633101942fd065f", "rev": "64c6325b28ebd708653dd41d88f306023f296184",
"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": 1728947084, "lastModified": 1728829629,
"narHash": "sha256-bCC1Abh20wE7qYNO+4Mwly9VQydfB49aGVjTdxr01hQ=", "narHash": "sha256-y3fWim/0mDCSLjvqkmylN5mmVOfvwJG9Mt+Z8qIn44U=",
"owner": "sodiboo", "owner": "sodiboo",
"repo": "niri-flake", "repo": "niri-flake",
"rev": "da63f3599316dc2a02c1088197509be0aec743bf", "rev": "0a50b261ac5b6cdcc8eb7921a4f022c92b29d1ab",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -144,11 +144,11 @@
"niri-unstable": { "niri-unstable": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1728918524, "lastModified": 1728822376,
"narHash": "sha256-zDFgW/8+hPDgKuovkK69Yek4ZZZZzY3nuso0Dh/OIa8=", "narHash": "sha256-HQc10OfFNie5YocsrJQCN6BOi+CZ0uuGGHGbJFXjgUI=",
"owner": "YaLTeR", "owner": "YaLTeR",
"repo": "niri", "repo": "niri",
"rev": "be7fbd418fcee2d2ff9f80aa15f1eb8ff0d83afb", "rev": "d7156df8428cb9e6665a212e66c74bdb25842be8",
"type": "github" "type": "github"
}, },
"original": { "original": {