tmux-session-dots enhances the tmux experience by showing session statuses as dots in the status bar. With a simple installation, it provides a clear visual of all your tmux sessions at a glance, improving navigation and awareness of session states without any hassle.
The tmux-session-dots project is a visual session indicator designed for the tmux status bar. It elegantly displays all tmux sessions as colored dots (●○○), with the current session highlighted for instant recognition. This feature enhances user experience for those who manage multiple tmux sessions by providing immediate visual feedback on the number of active sessions and which session is currently active.
Integrate the plugin seamlessly by adding the following line to your status bar configuration:
set -g status-right "#{session_dots} | %H:%M %p"
This will show the session indicator along with the current time.
Tailor the appearance to suit your preferences:
set -g @session-dots-color "#89b4fa" # Set to Catppuccin blue
set -g @session-dots-separator " " # Replace with spaces
For enhanced functionality, this plugin can be paired with keybindings to facilitate rapid session changes. Configure your .tmux.conf with these bindings:
# Cycle through sessions using Option + brackets
bind-key -n M-[ switch-client -p
bind-key -n M-] switch-client -n
The tmux-session-dots plugin leverages client-session-changed hooks to ensure that the status bar updates instantaneously as sessions are switched, replicating the responsiveness of native tmux features.
Overall, tmux-session-dots enhances the tmux experience by transforming the status bar into an intuitive and informative tool for managing multiple sessions effectively.
No comments yet.
Sign in to be the first to comment.