From b9911226435b0df0237a7143a487cd3b78b677a9 Mon Sep 17 00:00:00 2001 From: benstrb Date: Sat, 31 Jan 2026 11:28:09 +0100 Subject: [PATCH] non important commit --- home/modules/waybar.nix | 80 +++++++++++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 15 deletions(-) diff --git a/home/modules/waybar.nix b/home/modules/waybar.nix index 1ba3aab..6edc836 100644 --- a/home/modules/waybar.nix +++ b/home/modules/waybar.nix @@ -22,40 +22,90 @@ "clock" = { interval = 1; - format = "{:%H:%M}  "; + format = "{:%H:%M:%S}  "; + format-alt = "{:%d/%m/%Y %H:%M:%S}"; }; }; }; style = '' - * { - font-family: monospace; - font-size: 13px; + /* Rose Pine Color Definitions */ + @define-color base #191724; + @define-color subtle #908caa; + @define-color text #e0def4; + @define-color love #eb6f92; + @define-color gold #f6c177; + + /* Global Settings */ + * { + font-family: 'JetBrainsMono Nerd Font'; + font-size: 12px; + font-weight: bold; + min-height: 0px; } + /* Waybar */ window#waybar { - background-color: #1e1e2e; - color: #cdd6f4; + background-color: transparent; + transition-property: background-color; + transition-duration: .5s; + } + + /* Workspaces */ + #workspaces { + background-color: @base; + border-radius: 8px; + border: 1px solid alpha(@text, 0.15); } #workspaces button { - padding: 0 8px; - color: #cdd6f4; - background-color: transparent; + padding: 3px; + border-radius: 2px; + background-color: transparent; + color: @text; + opacity: 1; } #workspaces button.active { - background-color: #89b4fa; - color: #1e1e2e; + color: @love; + opacity: 1; } - #workspaces button:hover { - background-color: #313244; + #workspaces button.empty { + color: alpha(@text, 0.4); + opacity: 0.45; + transition: all 0.15s ease-in-out; } + #workspaces button.empty.active { + color: @love; + } + + /* Clock */ #clock { - padding: 0 10px; - color: #cdd6f4; + background-color: @base; + border-radius: 8px; + border: 1px solid alpha(@text, 0.15); + color: @gold; + min-width: 16px; + margin: 1px 3px 1px 3px; + padding-left: 6px; + padding-right: 6px; + } + + /* Tooltip */ + tooltip { + opacity: 1; + padding: 4px; + background-color: @base; + border: 1px solid alpha(@text, 0.15); + border-radius: 8px; + font-size: 12px; + } + + tooltip label { + color: @subtle; + font-weight: normal; } ''; };