From a595fc7ca575de9de87f1311f3113f6fd4c6c326 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 17:24:02 +0200 Subject: fix: give the launcher a mark for each state The pill inverts on hover, so one mark could never work: filled dark it vanished on the dark hover background, filled light it would vanish on the accent pill at rest. Both halves of that shipped, one after the other. Removing the hover rule did not help either, because the GTK theme paints its own hover shade on the button node underneath. Declining to set a background does not leave the pill alone, it leaves that shade in charge. So the mark moves out of the image module and into CSS, where a background-image can be swapped per state: dark on the accent pill at rest, light on the dark pill hovered, with the hover background set explicitly rather than left to the theme. install.sh generates both tints from one source file, so they cannot drift apart in shape. That makes the launcher a custom module, since an image module's path is read once and CSS cannot reach inside it. Its format is a single space for the usual reason: an empty one draws no widget at all. install.sh also removes the file the old image module left behind. The prune only clears dangling symlinks, and that one was written as a real file, so nothing had been removing it. Co-Authored-By: Claude Opus 5 --- icons/slackware-light.svg | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 icons/slackware-light.svg (limited to 'icons/slackware-light.svg') diff --git a/icons/slackware-light.svg b/icons/slackware-light.svg new file mode 100644 index 0000000..74e6911 --- /dev/null +++ b/icons/slackware-light.svg @@ -0,0 +1,12 @@ + + + + -- cgit v1.2.3