From a9ab28555916742f665e5f05807c76ef56ca2cf1 Mon Sep 17 00:00:00 2001 From: unexplrd Date: Tue, 15 Apr 2025 13:59:19 +0300 Subject: [PATCH] desktop/niri: minimal waybar Signed-off-by: unexplrd --- modules/home/desktop/niri/default.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/home/desktop/niri/default.nix b/modules/home/desktop/niri/default.nix index 6ead488..888a9ed 100644 --- a/modules/home/desktop/niri/default.nix +++ b/modules/home/desktop/niri/default.nix @@ -642,10 +642,10 @@ in { bar-0 = { # layer = "top"; position = "bottom"; - height = 32; + height = 24; spacing = 4; - margin-left = 63; - margin-right = 63; + # margin-left = 63; + # margin-right = 63; reload_style_on_change = true; modules-left = [ "niri/language" @@ -664,7 +664,7 @@ in { "clock" ]; "niri/workspaces" = { - format = "{icon}"; + format = "{index}"; format-icons = { "1" = "൧"; "2" = "൨"; @@ -721,7 +721,7 @@ in { }; "clock" = { interval = 1; - format = "{:%H:%M:%S}"; + format = "{:%H:%M}"; tooltip-format = "{:%d.%m.%Y}"; }; battery = { @@ -837,7 +837,7 @@ in { font-size: 100%; } window#waybar { - background-color: transparent; + background-color: @base00; color: @base05; transition-property: background-color; transition-duration: 0.5s; @@ -852,13 +852,13 @@ in { .mpris.paused, .modules-left, .modules-right { - border-top-left-radius: 12px; + /* border-top-left-radius: 12px; border-top-right-radius: 12px; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; background-color: @base00; - color: @base05; - padding: 0 0.5em; + color: @base05; */ + margin: 0 0.5em; } tooltip { background: @base01; @@ -898,7 +898,7 @@ in { #custom-notification, #power-profiles-daemon, #workspaces button { - padding: 0 0.2em; + padding: 0 0.3em; } #taskbar button { padding: 0 0.1em;