Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

[Question] Config reloading does not work as expected

6 views
Skip to first unread message

japin li

unread,
Oct 10, 2024, 3:18:35 AM10/10/24
to tmux-users
Hi, all

I have a tmux config as following:

```
set -g @thm_dark_yellow '#FFA500'
set -g @thm_black '#000000'
set -g @thm_visual_grey '#808080'
set -g @thm_white '#FFFFFF'

set -ogq @window-status-current-index "#[bg=#{@thm_dark_yellow},fg=#{@thm_black},bold] #I"
set -ogq @window-status-current-text "#[bg=#{@thm_black},fg=#{@thm_white},bold] #W#{?#F,:#F,} "
setw -g window-status-current-format "#{E:@window-status-current-index} #{E:@window-status-current-text}"
```

When I change the background color of window-status-current-text,  and use source-file to reload, it does not work.  There might be something wrong with the config, but I cannot figure it out, can anyone help me?

Thanks in advance.

Nicholas Marriott

unread,
Oct 10, 2024, 3:31:04 AM10/10/24
to japin li, tmux-users
What happens if you remove the -o flag to set-option? :-)


--
You received this message because you are subscribed to the Google Groups "tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tmux-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/d578798a-1a99-492b-8ccd-39ac3938d06en%40googlegroups.com.

japin li

unread,
Oct 10, 2024, 3:49:59 AM10/10/24
to tmux-users
Thank you very much!  It works.
Reply all
Reply to author
Forward
0 new messages