From e513c2cb440207c1298a9eafa7de0ad9326fd7c9 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 15 Oct 2024 19:53:20 +0200 Subject: [PATCH] buttons background color fix if transparent bar --- home/system/hyprpanel/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/system/hyprpanel/default.nix b/home/system/hyprpanel/default.nix index 25faf09..7085767 100644 --- a/home/system/hyprpanel/default.nix +++ b/home/system/hyprpanel/default.nix @@ -206,7 +206,8 @@ in { "theme.bar.buttons.monochrome": true, "theme.bar.buttons.text": "${foreground}", "theme.bar.buttons.background": "${ - background-alt + (if transparentButtons then "00" else "") + (if transparent then background else background-alt) + + (if transparentButtons then "00" else "") }", "theme.bar.buttons.icon": "${accent}", "theme.bar.buttons.notifications.background": "${background-alt}",