From 24e5ccfca0a972f445b635a12c141c430ddd4cf6 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 1 Jun 2024 17:15:58 -0500 Subject: [PATCH] Fixes waybar tooltip styling --- user/wm/hyprland/hyprland.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index ff21307..5b39a82 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -812,6 +812,20 @@ in transition-duration: .2s; } + tooltip { + color: #'' + config.lib.stylix.colors.base07 + ''; + background-color: rgba('' + config.lib.stylix.colors.base00-rgb-r + "," + config.lib.stylix.colors.base00-rgb-g + "," + config.lib.stylix.colors.base00-rgb-b + "," + ''0.9); + border-style: solid; + border-width: 3px; + border-radius: 8px; + border-color: #'' + config.lib.stylix.colors.base08 + ''; + } + + tooltip * { + color: #'' + config.lib.stylix.colors.base07 + ''; + background-color: rgba('' + config.lib.stylix.colors.base00-rgb-r + "," + config.lib.stylix.colors.base00-rgb-g + "," + config.lib.stylix.colors.base00-rgb-b + "," + ''0.0); + } + window > box { border-radius: 8px; opacity: 0.94;