Custom Apps

Setup

The x. section exists to support custom integrations that aren't yet natively supported. Anything that can be achieved with a shell script can be done here, including calling other full binaries.

A few ideas:

Configuration

Section: [x.*]

Configuration keys, defaults, and descriptions
Key Default Description
name (none)

A human-friendly name for this app, used for logging.

dark (none)

The command to run to enter dark mode for the app. Executed as the argument to sh -c.

light (none)

The command to run to enter light mode for the app. Executed as the argument to sh -c.

disabled false Disables Custom Apps

Example

# Switch vim themes on my remote dev machine
[x.remote_dev_box]
name = "vim on dev box"
dark = "ssh me@example.com thcon dark vim"
light = "ssh me@example.com thcon light vim"

[x.wallpaper]
name = "desktop background"
dark = "~/bin/set-background.sh '~/Pictures/Dark and Moody.jpg'"
light = "~/bin/set-background.sh '~/Pictures/Light and Airy.jpg'"