From e01d53b29d644165d182c160b7b5a2bf4f15e56a Mon Sep 17 00:00:00 2001 From: benstrb Date: Sat, 31 Jan 2026 14:15:00 +0100 Subject: [PATCH] non important commit --- home/modules/waybar.nix | 113 ++++++++++++++++++---------------------- 1 file changed, 52 insertions(+), 61 deletions(-) diff --git a/home/modules/waybar.nix b/home/modules/waybar.nix index bcb5ed0..47990f1 100644 --- a/home/modules/waybar.nix +++ b/home/modules/waybar.nix @@ -1,21 +1,17 @@ { programs.waybar = { enable = true; - settings = { mainBar = { layer = "top"; position = "top"; height = 20; - output = [ "DVI-D-1" "HDMI-A-1" ]; - modules-left = ["niri/workspaces"]; modules-right = ["clock"]; - "niri/workspaces" = { disable-scroll = true; format = "{icon}"; @@ -24,78 +20,73 @@ default = "○"; }; }; - "clock" = { interval = 1; - format = "{:%H:%M:%S}  "; + format = "{:%H:%M:%S} "; format-alt = "{:%d/%m/%Y %H:%M:%S}"; }; }; }; - style = '' - /* Colors */ - @define-color fg #fafafa; - @define-color fg-alt #bdbdbd; - @define-color purple #d500f9; - @define-color red #ff1744; - @define-color trans transparent; + /* Colors */ + @define-color fg #fafafa; + @define-color fg-alt #bdbdbd; + @define-color purple #d500f9; + @define-color red #ff1744; + @define-color trans transparent; - /* Global Settings */ - * { - font-family: 'monospace'; - font-size: 10px; - min-height: 0px; - } + /* Global Settings */ + * { + font-family: 'monospace'; + font-size: 10px; + min-height: 0px; + transition: none; + } - /* Waybar */ - window#waybar { - background-color: @trans; - color: @fg; - } + /* Disable all hover effects globally */ + *:hover { + background-color: inherit; + color: inherit; + box-shadow: none; + text-shadow: none; + border: none; + } - /* Workspaces */ - #workspaces { - background-color: @trans; - color: @fg; - } + /* Waybar */ + window#waybar { + background-color: @trans; + color: @fg; + } - #workspaces button:hover { - background-color: @trans; - color: @fg-alt; - box-shadow: none; - text-shadow: none; - border: none; - } + /* Workspaces */ + #workspaces { + background-color: @trans; + color: @fg; + } - #workspaces button { - padding: 0 2px; - background-color: @trans; - color: @fg-alt; - border: none; - } + #workspaces button { + padding: 0 2px; + background-color: @trans; + color: @fg-alt; + border: none; + box-shadow: none; + text-shadow: none; + } - #workspaces button.active { - color: @purple; - } + #workspaces button.active { + color: @purple; + } - #workspaces button.urgent { - color: @red; - } + #workspaces button.urgent { + color: @red; + } - /* Clock */ - #clock { - background-color: transparent; - color: @fg; - padding: 0 8px; - } - - #clock:hover { - background-color: @trans; - color: @fg; - box-shadow: none; - text-shadow: none; - } + /* Clock */ + #clock { + background-color: @trans; + color: @fg; + padding: 0 8px; + } ''; }; }