From 0d629d507f6ec7a58d324d7e333663aebedd5d5f Mon Sep 17 00:00:00 2001 From: Myned Date: Sat, 21 Dec 2024 13:42:08 -0500 Subject: [PATCH] waybar: fix tooltip/menu styles Signed-off-by: Myned --- options/custom/programs/waybar/default.nix | 4 ++-- options/custom/programs/waybar/style.css | 22 ++++++++++++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/options/custom/programs/waybar/default.nix b/options/custom/programs/waybar/default.nix index 85ff1f5..0d5947e 100644 --- a/options/custom/programs/waybar/default.nix +++ b/options/custom/programs/waybar/default.nix @@ -61,8 +61,6 @@ in { # ?? waybar --log-level debug style = '' - ${readFile ./style.css} - * { border-radius: 50px; color: #93a1a1; @@ -74,6 +72,8 @@ in { .horizontal > box { margin: 0 ${toString config.custom.gap}px ${toString config.custom.gap}px; } + + ${readFile ./style.css} ''; ### SETTINGS ### diff --git a/options/custom/programs/waybar/style.css b/options/custom/programs/waybar/style.css index 7e5ad4e..c268a14 100644 --- a/options/custom/programs/waybar/style.css +++ b/options/custom/programs/waybar/style.css @@ -13,9 +13,27 @@ label:hover { background: #073642; } +menu { + border-radius: 20px; + padding: 4px; +} + +menuitem { + padding: 4px; +} + +menuitem label { + font-size: 16px; +} + tooltip { - opacity: 0; - /* background: #002b36; */ + background: #002b36; + border-radius: 20px; +} + +tooltip label { + font-size: 16px; + padding: 4px; } .active {