From cb32dc99cdf9f44396e2f21b3042657a814683ad Mon Sep 17 00:00:00 2001 From: Colin Date: Sun, 9 Jun 2024 01:50:39 +0000 Subject: [PATCH] sysvol: fix background transparency --- hosts/common/programs/sysvol.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/common/programs/sysvol.nix b/hosts/common/programs/sysvol.nix index fd79ddd3..35fa6ea9 100644 --- a/hosts/common/programs/sysvol.nix +++ b/hosts/common/programs/sysvol.nix @@ -7,6 +7,9 @@ fs.".config/sys64/volume.css".symlink.text = '' window { + background: transparent; + } + window > box { background: #000000B4; border-radius: 19px; } @@ -58,12 +61,13 @@ # options: # -p {0,1,2,3} to attach to top/right/bottom/left screen edge # -t N for the notifier to be dismissed after N seconds (integer only) + # -T N reveal/hide transition time in milliseconds # -m N to set the indicator this many pixels in from the edge. # it considers sway bars, but not window titles # -{H,W} N to set the height/width of the notifier, in px. # -i N to set the size of the volume icon # -P to hide percentage text - command = "sysvol -p 0 -t 1 -m 22 -H 39 -W 256 -i 32 -P"; + command = "sysvol -p 0 -t 1 -T 0 -m 22 -H 39 -W 256 -i 32 -P"; }; }; }