aboutsummaryrefslogtreecommitdiffstats
path: root/modules/image/launcher.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/image/launcher.jsonc')
-rw-r--r--modules/image/launcher.jsonc17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/image/launcher.jsonc b/modules/image/launcher.jsonc
new file mode 100644
index 0000000..8c45bc4
--- /dev/null
+++ b/modules/image/launcher.jsonc
@@ -0,0 +1,17 @@
+// Opens the quickshell desktop drawer. A static button: no state, because
+// waybar cannot see whether the drawer is open without the shell feeding it.
+//
+// An `image` module rather than a custom one: a custom module draws nothing at
+// 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.
+{
+ "image#launcher": {
+ "path": "$HOME/.config/waybar-udt/slackware.svg",
+ "size": 18,
+ "tooltip": false,
+ "on-click": "qs -p $HOME/Programming/GIT/quickshell/desktop ipc call drawer toggle"
+ }
+}