diff options
| author | Danilo M. <danix@danix.xyz> | 2026-09-15 13:01:40 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-09-15 13:01:40 +0200 |
| commit | 1c9fc8369f639ec6a8d061c3ff0b9b17f9d25118 (patch) | |
| tree | 9cd12f0520c008096e9396eca4e0234d1ba3eff0 /modules/custom | |
| parent | e996b6626c85f8cefb0f357d128091e350ee0ec0 (diff) | |
| download | waybar-theme-udt-1c9fc8369f639ec6a8d061c3ff0b9b17f9d25118.tar.gz waybar-theme-udt-1c9fc8369f639ec6a8d061c3ff0b9b17f9d25118.zip | |
fix: draw the launcher, and prune stale links on install
A custom module renders nothing at all when its format is empty, and the
format has to be empty because the Slackware mark is an icon rather than
text, so the launcher pill never appeared. It is an image module now, which
takes a path and needs no label: the same reason the language flag is one.
install.sh only ever added links, so the module file this replaces left a
dangling symlink behind that every later install would step over. It now
prunes links whose source has gone, and a reinstall repairs itself.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'modules/custom')
| -rw-r--r-- | modules/custom/launcher.jsonc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/custom/launcher.jsonc b/modules/custom/launcher.jsonc deleted file mode 100644 index 56f61fb..0000000 --- a/modules/custom/launcher.jsonc +++ /dev/null @@ -1,13 +0,0 @@ -// Opens the quickshell desktop drawer. A static button: no "exec", so it -// cannot show whether the drawer is open, which would need the shell to feed -// waybar. -// -// The Slackware mark is a CSS background image, tinted with the udt accent at -// install time. It is the one always-coloured pill on the bar. -{ - "custom/launcher": { - "format": "", - "tooltip": false, - "on-click": "qs -p $HOME/Programming/GIT/quickshell/desktop ipc call drawer toggle" - } -} |
