fix: automated tmux statusbar color now works as it should (only tested
on linux)
This commit is contained in:
parent
3e1993efbd
commit
aba6414706
8 changed files with 90 additions and 9 deletions
|
|
@ -1,4 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
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"
|
||||
ROOT="$HOME/.local/state/colorsync"
|
||||
TRIGGER_NAME="tmux_statusbar_color"
|
||||
SCRIPT="$HOME/.config/tmux/tmux-statusbar-color.sh"
|
||||
WATCHMAN="watchman"
|
||||
|
||||
"$WATCHMAN" watch-project "$ROOT" >/dev/null
|
||||
"$WATCHMAN" -- trigger-del "$ROOT" "$TRIGGER_NAME" >/dev/null 2>&1 || true
|
||||
"$WATCHMAN" -- trigger "$ROOT" "$TRIGGER_NAME" 'current' -- bash "$SCRIPT"
|
||||
# watchman -- trigger "$HOME/.local/state/colorsync" tmux_statusbar_color 'current' -- bash "$HOME/.config/tmux/tmux-statusbar-color.sh"
|
||||
|
||||
# watchman watch-project "$HOME/.local/state/colorsync"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue