diff --git a/home/.chezmoiexternal.toml b/home/.chezmoiexternal.toml index 93fc450..9ff6bd9 100644 --- a/home/.chezmoiexternal.toml +++ b/home/.chezmoiexternal.toml @@ -11,6 +11,18 @@ include = ["*/templates/alacritty.toml", "*/templates/btop.theme", "*/templates/ {{ end -}} checksum.sha256 = "65284a68c482fa5226cb937bb7e9fc094e14eb66f2688fc8a646503300a464e3" +{{ if eq .chezmoi.os "darwin" -}} +[".config/matugen/templates/tmux/tmux.conf"] +type = "file" +url = "https://raw.githubusercontent.com/CollieIsCute/community-templates/6d7e23d9ca015dcdab68d73a896c2f99c9086a92/tmux/tmux.conf" +checksum.sha256 = "1e0ec6100855f3f303ed02fb22c3cac1d608a06db2ec23b61217b2556800c54a" + +[".config/matugen/templates/tmux/apply.sh"] +type = "file" +url = "https://raw.githubusercontent.com/CollieIsCute/community-templates/6d7e23d9ca015dcdab68d73a896c2f99c9086a92/tmux/apply.sh" +checksum.sha256 = "8e5e7adaa14588251924e926e4a6378523d8b42d64ba991e9094f0bafe8c3a70" +{{ end -}} + [".config/matugen/templates/neovim.lua"] type = "file" url = "https://raw.githubusercontent.com/noctalia-dev/community-templates/54eb937240fad66b8aa62a9155316ba9bf2b6874/neovim/matugen-template.lua" diff --git a/home/dot_config/matugen/config.toml.tmpl b/home/dot_config/matugen/config.toml.tmpl index 09a760d..b7751da 100644 --- a/home/dot_config/matugen/config.toml.tmpl +++ b/home/dot_config/matugen/config.toml.tmpl @@ -14,6 +14,11 @@ output_path = "~/.config/kitty/themes/noctalia.conf" [templates.ghostty] input_path = "~/.config/matugen/templates/matugen-themes/ghostty" output_path = "~/.config/ghostty/themes/noctalia" + +[templates.tmux] +input_path = "~/.config/matugen/templates/tmux/tmux.conf" +output_path = "~/.config/tmux/themes/noctalia.conf" +post_hook = 'bash "$HOME/.config/matugen/templates/tmux/apply.sh"' {{ else -}} [templates.alacritty] input_path = "~/.config/matugen/templates/matugen-themes/alacritty.toml"