diff options
Diffstat (limited to 'modules/custom')
| -rw-r--r-- | modules/custom/launcher.jsonc | 13 | ||||
| -rw-r--r-- | modules/custom/privacy_dots.jsonc | 12 | ||||
| -rw-r--r-- | modules/custom/vmdot.jsonc | 10 |
3 files changed, 35 insertions, 0 deletions
diff --git a/modules/custom/launcher.jsonc b/modules/custom/launcher.jsonc new file mode 100644 index 0000000..56f61fb --- /dev/null +++ b/modules/custom/launcher.jsonc @@ -0,0 +1,13 @@ +// 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" + } +} diff --git a/modules/custom/privacy_dots.jsonc b/modules/custom/privacy_dots.jsonc new file mode 100644 index 0000000..30d86b3 --- /dev/null +++ b/modules/custom/privacy_dots.jsonc @@ -0,0 +1,12 @@ +// A dot per active capture: microphone, camera, location, screen sharing. +// Shows nothing when everything is off, which is the point. The script is in +// this repo and symlinked into ~/bin, so the colours follow the palette. +{ + "custom/privacy_dots": { + "exec": "$HOME/bin/privacy_dots.sh", + "interval": 3, + "return-type": "json", + "format": "{}", + "tooltip": true + } +} diff --git a/modules/custom/vmdot.jsonc b/modules/custom/vmdot.jsonc new file mode 100644 index 0000000..1955a6e --- /dev/null +++ b/modules/custom/vmdot.jsonc @@ -0,0 +1,10 @@ +// One dot per defined VM, coloured by state. The script is in this repo and +// symlinked into ~/bin, so the colours follow the palette. +{ + "custom/vmdot": { + "exec": "$HOME/bin/vms_dots.sh", + "interval": 2, + "return-type": "json", + "tooltip": true + } +} |
