chore(config): tweak tmux config & theme activator

This commit is contained in:
2025-03-05 15:07:20 +02:00
parent 1f0826c7e7
commit 26e11047ce
2 changed files with 5 additions and 1 deletions

View File

@@ -12,5 +12,9 @@
# License: MIT
THEME_FILE="$HOME/.local/state/tmux/tmux-dark-notify-theme.conf"
THEME_BACKUP="$HOME/.dotfiles/config/tmux/theme-dark.conf"
# If THEME_FILE doesn't exist, link $THEME_BACKUP to it
[[ ! -e $THEME_FILE ]] && ln -s "$THEME_BACKUP" "$THEME_FILE"
[[ -e $THEME_FILE ]] && tmux source-file "$THEME_FILE"

View File

@@ -145,7 +145,7 @@ run-shell "$HOME/.dotfiles/config/tmux/rename-session.sh"
# Load theme based on tmux-dark-notify state.
# This script helps states where dark-notify is not available,
# and we want to have light or dark state constantly available.
# run-shell "$HOME/.dotfiles/config/tmux/theme-activate.sh"
run-shell "$HOME/.dotfiles/config/tmux/theme-activate.sh"
# ── Sourcing the plugins ──────────────────────────────────────────────