From 1f0e446c9fc7b9d27c433ab21c95fd84855780b5 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Tue, 15 Apr 2025 14:13:15 +0300 Subject: [PATCH] desktop/niri: smaller gaps, new defaults Signed-off-by: unexplrd --- modules/home/desktop/niri/default.nix | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/modules/home/desktop/niri/default.nix b/modules/home/desktop/niri/default.nix index 888a9ed..5f26087 100644 --- a/modules/home/desktop/niri/default.nix +++ b/modules/home/desktop/niri/default.nix @@ -433,7 +433,7 @@ in { } layout { - gaps 11 + gaps 6 center-focused-column "never" // "on-overflow" preset-column-widths { proportion 0.33333 @@ -442,7 +442,7 @@ in { } // default-column-width { proportion 0.9; } - default-column-width {} + default-column-width { proportion 0.5; } tab-indicator { active-color "#${colors.base04}" inactive-color "#${colors.base03}" @@ -452,7 +452,7 @@ in { length total-proportion=0.3 place-within-column position "left" - width 8 + width 6 } focus-ring { // off @@ -461,8 +461,8 @@ in { inactive-color "#${colors.base03}" } struts { - left 52 - right 52 + left 24 + right 24 } } @@ -507,6 +507,7 @@ in { } window-rule { match app-id="org.wezfurlong.wezterm" + match app-id="com.mitchellh.ghostty" default-column-width { proportion 1.0; } } window-rule { @@ -705,8 +706,16 @@ in { ]; }; "backlight" = { - format = "{icon} {percent}%"; - format-icons = ["" ""]; + format = "{icon} {percent}%"; + format-icons = [ + "󰃚" + "󰃛" + "󰃜" + "󰃝" + "󰃞" + "󰃟" + "󰃠" + ]; }; "idle_inhibitor" = { format = "{icon}"; @@ -807,7 +816,7 @@ in { }; "wlr/taskbar" = { format = "{icon}"; - icon-size = 16; + icon-size = 20; icon-theme = "${config.dconf.settings."org/gnome/desktop/interface".icon-theme}"; tooltip-format = "{title}"; on-click = "activate";