Setup seamless, automatic, and persistent colorscheme switching in tmux

that follows colorsync
This commit is contained in:
Martin Larsson 2025-07-24 00:40:02 +02:00
parent 9c5a1479b7
commit 68b8a7b608
4 changed files with 62 additions and 8 deletions

View file

@ -0,0 +1,4 @@
#!/usr/bin/env bash
watchman watch-project "$HOME/.local/state/colorsync"
watchman -- trigger "$HOME/.local/state/colorsync" tmux_statusbar_color 'current' -- bash "$HOME/.config/tmux/tmux-statusbar-color.sh"