From 66a8d05e2461761b60e1b4126437d04dc4f3dbbe Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 15 Sep 2026 14:52:57 +0200 Subject: fix: make the launcher mark load and draw Three faults stacked on the same pill, each hidden by the one before it. A module's `path` is not shell-expanded the way `exec` is, so "$HOME/..." was taken literally, no file was found, and the module drew nothing without logging why. The module file is generated into place now, with the absolute path written in, which is why install.sh removes the target first: an earlier install had symlinked that file, and a redirect onto a surviving link truncates the link's target, which is the repo's own copy. With a real path to try, gdk-pixbuf then refused the file. The XML was well-formed, but the loader sniffs the opening bytes for " --- modules/image/launcher.jsonc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'modules/image/launcher.jsonc') diff --git a/modules/image/launcher.jsonc b/modules/image/launcher.jsonc index 8c45bc4..7c7b979 100644 --- a/modules/image/launcher.jsonc +++ b/modules/image/launcher.jsonc @@ -5,11 +5,13 @@ // all when its format is empty, and the format has to be empty because the // mark is an icon rather than text. `image` takes a path and needs no label. // -// The path is the installed copy, which carries the udt accent: install.sh -// substitutes it, so the mark follows the scheme. +// This file is GENERATED into place by install.sh, not symlinked: `path` is +// not shell-expanded the way `exec` is, so a "$HOME/..." here is taken +// literally, no file is found, and the module draws nothing without saying so. +// @CONFIG@ becomes the absolute install directory. { "image#launcher": { - "path": "$HOME/.config/waybar-udt/slackware.svg", + "path": "@CONFIG@/slackware.svg", "size": 18, "tooltip": false, "on-click": "qs -p $HOME/Programming/GIT/quickshell/desktop ipc call drawer toggle" -- cgit v1.2.3