Compare commits

..

2 Commits

Author SHA1 Message Date
491a1ebb40 feat(browser): default to zen 2026-02-12 09:05:54 +08:00
25533605d3 feat(niri): update config 2026-02-12 09:05:45 +08:00
2 changed files with 8 additions and 9 deletions

View File

@@ -3,11 +3,11 @@
options.my.desktop.browser.default = { options.my.desktop.browser.default = {
command = lib.mkOption { command = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "chromium"; default = "zen-beta";
}; };
desktop = lib.mkOption { desktop = lib.mkOption {
type = lib.types.str; type = lib.types.str;
default = "chromium-browser.desktop"; default = "zen-beta.desktop";
}; };
}; };
} }

View File

@@ -21,7 +21,7 @@ in
layout = { layout = {
gaps = 23; gaps = 23;
center-focused-column = "always"; center-focused-column = "on-overflow";
always-center-single-column = true; always-center-single-column = true;
focus-ring.enable = false; focus-ring.enable = false;
border = { border = {
@@ -50,6 +50,10 @@ in
]; ];
default-column-width.proportion = 0.8; default-column-width.proportion = 0.8;
background-color = "transparent"; background-color = "transparent";
tab-indicator = {
width = 10;
place-within-column = true;
};
}; };
animations = { animations = {
@@ -158,12 +162,6 @@ in
in in
with config.my.hm.lib.niri.actions; with config.my.hm.lib.niri.actions;
{ {
"Ctrl+Alt+T".action.spawn = [
"kitty"
];
"Mod+T".action.spawn = [
"kitty"
];
"Mod+Return".action.spawn = [ "Mod+Return".action.spawn = [
"kitty" "kitty"
]; ];
@@ -278,6 +276,7 @@ in
"Mod+C".action = center-column; "Mod+C".action = center-column;
"Mod+F".action = toggle-window-floating; "Mod+F".action = toggle-window-floating;
"Mod+H".action = expand-column-to-available-width; "Mod+H".action = expand-column-to-available-width;
"Mod+T".action = toggle-column-tabbed-display;
"Mod+Minus".action.set-column-width = "-10%"; "Mod+Minus".action.set-column-width = "-10%";
"Mod+Equal".action.set-column-width = "+10%"; "Mod+Equal".action.set-column-width = "+10%";