mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
feat: add window-list-alignment option
You can now set the window lists alignment, available options are: left, centre (default) and right closes #19
This commit is contained in:
parent
5810f28b16
commit
74c6c25a28
2 changed files with 5 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||
source "$current_dir"/utils.sh
|
||||
|
||||
show_powerline=$(get_tmux_option "@tmux2k-show-powerline" true)
|
||||
window_list_alignment=$(get_tmux_option "@tmux2k-window-list-alignment" 'centre')
|
||||
refresh_rate=$(get_tmux_option "@tmux2k-refresh-rate" 60)
|
||||
start_icon=$(get_tmux_option "@tmux2k-start-icon" '')
|
||||
l_sep=$(get_tmux_option "@tmux2k-left-sep" )
|
||||
|
|
@ -177,7 +178,7 @@ set_options() {
|
|||
tmux set-option -g pane-border-style "fg=${bg_main}"
|
||||
tmux set-option -g message-style "bg=${bg_main},fg=${blue}"
|
||||
tmux set-option -g status-style "bg=${bg_main},fg=${white}"
|
||||
tmux set -g status-justify absolute-centre
|
||||
tmux set -g status-justify "$window_list_alignment"
|
||||
|
||||
tmux set-window-option -g window-status-activity-style "bold"
|
||||
tmux set-window-option -g window-status-bell-style "bold"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue