From beaffc0c1c0c6853d46fedaae855ed80248512f2 Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 22 Oct 2025 07:18:37 +1100 Subject: [PATCH] ghostty: use matugen to set background colour still uses tokyonight for a full colour theme but by setting the background colour it makes ghostty blend into the theme a bit more. --- stow/.config/ghostty/.gitignore | 1 + stow/.config/ghostty/config | 2 ++ stow/.config/matugen/config.toml | 4 ++++ stow/.config/matugen/templates/ghostty | 1 + 4 files changed, 8 insertions(+) create mode 100644 stow/.config/ghostty/.gitignore create mode 100644 stow/.config/matugen/templates/ghostty diff --git a/stow/.config/ghostty/.gitignore b/stow/.config/ghostty/.gitignore new file mode 100644 index 0000000..5fe944e --- /dev/null +++ b/stow/.config/ghostty/.gitignore @@ -0,0 +1 @@ +matugen diff --git a/stow/.config/ghostty/config b/stow/.config/ghostty/config index dddddb8..1fc75b5 100644 --- a/stow/.config/ghostty/config +++ b/stow/.config/ghostty/config @@ -15,3 +15,5 @@ window-padding-y = 8 quit-after-last-window-closed = false keybind = global:opt+shift+q=new_window keybind = global:cmd+opt+q=toggle_quick_terminal + +config-file = ?matugen diff --git a/stow/.config/matugen/config.toml b/stow/.config/matugen/config.toml index a607365..43fddc1 100644 --- a/stow/.config/matugen/config.toml +++ b/stow/.config/matugen/config.toml @@ -76,3 +76,7 @@ post_hook = 'fish ~/.config/fish/pure_colours.fish' [templates.fuzzel] input_path = './templates/fuzzel.ini' output_path = '~/.config/fuzzel/colors.ini' + +[templates.ghostty] +input_path = './templates/ghostty' +output_path = '~/.config/ghostty/matugen' diff --git a/stow/.config/matugen/templates/ghostty b/stow/.config/matugen/templates/ghostty new file mode 100644 index 0000000..ea7d03c --- /dev/null +++ b/stow/.config/matugen/templates/ghostty @@ -0,0 +1 @@ +background = {{colors.background.default.hex}}