merge flake-parts rewrite into main #19

Manually merged
Daholli merged 62 commits from main-merge into main 2025-11-22 20:16:40 +01:00
Showing only changes of commit 371a430031 - Show all commits

View file

@ -194,27 +194,6 @@
binds =
with config.lib.niri;
let
workspaces = (builtins.genList (x: x + 1) 9);
focus-workspaces = builtins.listToAttrs (
map (num: {
name = "Mod+${toString num}";
value = {
action.focus-workspace = num;
};
}) workspaces
);
move-to-workspaces = builtins.listToAttrs (
map (num: {
name = "Mod+Ctrl+${toString num}";
value = {
action.move-window-to-workspace = num;
};
}) workspaces
);
in
lib.mkMerge [
{
"Mod+Shift+Slash".action = actions.show-hotkey-overlay;
@ -235,6 +214,11 @@
repeat = false;
};
"Mod+1".action = actions.focus-workspace "zen";
"Mod+2".action = actions.focus-workspace "steam";
"Mod+3".action = actions.focus-workspace "communication";
"Mod+4".action = actions.focus-workspace "work";
"Mod+J" = {
action = actions.focus-window-or-workspace-down;
};
@ -365,8 +349,6 @@
allow-when-locked = true;
};
}
focus-workspaces
move-to-workspaces
];
spawn-at-startup = [