Sample Configuration

Config files must be in ~/.config/thcon/thcon.toml. Currently, only one config file is supported, but apps unsupported on the current platform are ignored. In other words, it's safe to share a single config file across your macOS and Ubuntu machines, for example.

This config simply is a collection of the examples listed for each app-specific page.

# ~/.config/thcon/thcon.toml

# For alacritty < 0.13.0, reference YAML files:
[alacritty]
dark = "~/config/alacritty/themes/themes/solarized_dark.yaml"
light = "~/config/alacritty/themes/themes/solarized_light.yaml"

# For alacritty >= 0.13.0, references TOML files:
[alacritty]
dark = "~/Downloads/solarized_dark.toml"
light = "~/Downloads/solarized_light.toml"

[emacs]
dark = "~/.emacs.d/dark.thcon.el"
light = "~/.emacs.d/light.thcon.el"

[gnome-shell]
dark = "Arc-Dark-solid"
light = "Arc"

[gnome-terminal]
dark = "193ae12e-5755-42bf-b10e-a1a428016b4a"
light = "fe1bf46e-4e61-4389-bd93-f0000a7e8ac6"

[gtk]
dark = "HighContrastInverse"
light = "HighContrast"

[helix]
dark = "catppuccin_mocha"
light = "catppuccin_latte"

[iterm2]
dark = "my dark theme"
light = "An Imported Light Theme"

[kitty]
dark = "~/src/iTerm2-Color-Schemes/kitty/catppuccin-mocha.conf"
light = "~/src/iTerm2-Color-Schemes/kitty/catppuccin-latte.conf"

[konsole]
dark = "My Dark Profile"
light = "A Light Profile"

[macos]
disabled = false

[neovim]
dark = "~/Downloads/a-file-from-the-internet.lua"
light = "~/Documents/light-mode-settings.lua"

[plasma]
dark = "com.example.dark.desktop"
light = "com.example.light.desktop"

[terminal-app]
dark = "Red Sands"
light = "Man Page"

[vim]
dark = "~/.config/vim/my-dark-settings.vimrc"
light = "~/.config/vim/my-light-settings.vimrc"

# 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'"