aboutsummaryrefslogtreecommitdiffstats
path: root/modules/image/launcher.jsonc
blob: 7c7b979e450935bd097a2cb6caecff6231175243 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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.
//
// 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": "@CONFIG@/slackware.svg",
		"size": 18,
		"tooltip": false,
		"on-click": "qs -p $HOME/Programming/GIT/quickshell/desktop ipc call drawer toggle"
	}
}