Skip to content

Commit

Permalink
chore(tmux): tweak plugin order and paths
Browse files Browse the repository at this point in the history
Signed-off-by: Ismo Vuorinen <[email protected]>
  • Loading branch information
ivuorinen committed Feb 19, 2025
1 parent c82e183 commit 721d3c0
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions config/tmux/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -137,25 +137,26 @@ set -g @mode_indicator_sync_mode_style 'bg=default,fg=red'
set -g @fzf-url-bind 'u'
set -g @fzf-url-history-limit '2000'

# ── Sourcing the plugins ──────────────────────────────────────────────

run-shell "$HOME/.config/tmux/plugins/tmux-sensible/sensible.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-window-name/tmux_window_name.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-mode-indicator/mode_indicator.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-suspend/suspend.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-continuum/continuum.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-sessionist/sessionist.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-yank/yank.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux"
run-shell "$HOME/.config/tmux/plugins/tmux-fzf-url/fzf-url.tmux"
# ── Own scripts ───────────────────────────────────────────────────────

# If we started tmux with a session name, rename it.
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/.config/tmux/theme-activate.sh"
run-shell "$HOME/.dotfiles/config/tmux/theme-activate.sh"

# If we started tmux with a session name, rename it.
run-shell "$HOME/.config/tmux/rename-session.sh"
# ── Sourcing the plugins ──────────────────────────────────────────────

run-shell "$HOME/.config/tmux/plugins/tmux-dark-notify/main.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-sensible/sensible.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-window-name/tmux_window_name.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-mode-indicator/mode_indicator.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-suspend/suspend.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-continuum/continuum.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-sessionist/sessionist.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-yank/yank.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-current-pane-hostname/current_pane_hostname.tmux"
run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-fzf-url/fzf-url.tmux"

run-shell "$HOME/.dotfiles/config/tmux/plugins/tmux-dark-notify/main.tmux"

0 comments on commit 721d3c0

Please sign in to comment.