From 412edf1909f66523e01d619bd142f05e189330d1 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 20 Oct 2026 14:49:28 -0400 Subject: [PATCH] make gaypanel semitransparent --- clients/quadraticpc/fht-compositor/default.nix | 15 ++++++++++++--- wrappers/desktop/gaypanel/default.nix | 5 ++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/clients/quadraticpc/fht-compositor/default.nix b/clients/quadraticpc/fht-compositor/default.nix index f37067d..9cdc685 100644 --- a/clients/quadraticpc/fht-compositor/default.nix +++ b/clients/quadraticpc/fht-compositor/default.nix @@ -45,9 +45,10 @@ in # The default theme, minus its hardcoded @define-color palette, so the GTK theme's colors show through environment.etc."xdg/walker/themes/system/style.css".source = - pkgs.runCommand "walker-system-style.css" { } '' - sed '/^@define-color/d' ${pkgs.walker.src}/resources/themes/default/style.css > $out - ''; + pkgs.runCommand "walker-system-style.css" { } + '' + sed '/^@define-color/d' ${pkgs.walker.src}/resources/themes/default/style.css > $out + ''; environment.etc.${filename}.source = (pkgs.formats.toml { }).generate "config.toml" { autostart = [ session-programs ]; @@ -137,6 +138,14 @@ in } ]; + # # Blur behind gaypanel's semi-transparent background + # layer-rules = [ + # { + # match-namespace = [ "^panel$" ]; + # blur.disable = false; + # } + # ]; + outputs = { HDMI-A-1.position.x = 0; DP-3.position.x = 1920; diff --git a/wrappers/desktop/gaypanel/default.nix b/wrappers/desktop/gaypanel/default.nix index 5be6553..e3176e0 100644 --- a/wrappers/desktop/gaypanel/default.nix +++ b/wrappers/desktop/gaypanel/default.nix @@ -55,8 +55,11 @@ let } ''; - # GNOME-style workspace dots, with the active one stretched into a pill style = pkgs.writeText "style.css" '' + window.panel { + background: alpha(var(--window-bg-color), 0.5); + } + .workspaces button { min-width: 8px; min-height: 8px;