From 248a346d1b3dab3752c991b84f1406481c23093f Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 4 Jan 2024 17:37:55 +0900 Subject: [PATCH] test --- .../hyprland/themes/stylix/waybar-conf.nix | 61 +++++++------------ 1 file changed, 22 insertions(+), 39 deletions(-) diff --git a/home-manager/common/desktops/hyprland/themes/stylix/waybar-conf.nix b/home-manager/common/desktops/hyprland/themes/stylix/waybar-conf.nix index b6a5c988..2db33c03 100644 --- a/home-manager/common/desktops/hyprland/themes/stylix/waybar-conf.nix +++ b/home-manager/common/desktops/hyprland/themes/stylix/waybar-conf.nix @@ -122,45 +122,36 @@ }; }; }; - style = { - waybar = { - padding = "15px"; - }; - workspaces = { - button = { - visible = { - font-size = "15px"; - border-radius = "50px"; - padding = "0px 5px"; - margin = "5px"; - }; - }; - }; - }; - }; + style = '' + + * { + border: none; + border-radius: 0; + font-family: JetbrainsMono Regular; + } - # Waybar theming - home.file.".config/waybar/style.css" = { - enable = false; - executable = false; - text = '' + #waybar { + padding: 15px; + } + + #workspaces button.visible, + #workspaces button { + font-size: 15px; + border-radius: 50px; + padding: 0px 5px; + margin: 5px; + } #workspaces button.active { padding: 0px 15px; - background-color: #7A7740; - color: rgba(0, 0, 0, 0.5); } #workspaces button:hover, #workspaces button.focused:hover, #workspaces button.visible:hover { - color: rgba(0, 0, 0, 0.5); - background-color: #649a25; } #workspaces button.urgent { - background-color: #cc241d; - color: rgba(200, 200, 200, 0.5); } /* @@ -185,8 +176,6 @@ padding: 0px 10px; margin: 5px; border-radius: 5px; - color: rgba(58,60,62, 0.6); - background-color: #649a25; font-weight: bold; } @@ -208,14 +197,12 @@ #custom-tailscale button:hover, #custom-wlogout button:hover, #window button:hover{ - background-color: #d9eed2; } /* * Warning plugins state */ #battery.warning { - background-color: #d1ff6d; } /* @@ -225,22 +212,18 @@ #battery.critical, #custom-tailscale.Stopped, #network.disconnected { - color: #d9eed2; - background-color: #fb0029; } #battery.charging { - background-color: #2a9b34; } #battery.plugged { - background-color: #458588; } #pulseaudio.bluetooth { - background-color: #458588; } tooltip { - color: #d9eed2; font-size: 14px; } - ''; - }; + ''; + + ''; + }; }