mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-18 08:54:34 +00:00
chore(config): tweak tmux config & theme activator
This commit is contained in:
@@ -12,5 +12,9 @@
|
|||||||
# License: MIT
|
# License: MIT
|
||||||
|
|
||||||
THEME_FILE="$HOME/.local/state/tmux/tmux-dark-notify-theme.conf"
|
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"
|
[[ -e $THEME_FILE ]] && tmux source-file "$THEME_FILE"
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ run-shell "$HOME/.dotfiles/config/tmux/rename-session.sh"
|
|||||||
# Load theme based on tmux-dark-notify state.
|
# Load theme based on tmux-dark-notify state.
|
||||||
# This script helps states where dark-notify is not available,
|
# This script helps states where dark-notify is not available,
|
||||||
# and we want to have light or dark state constantly 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 ──────────────────────────────────────────────
|
# ── Sourcing the plugins ──────────────────────────────────────────────
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user