Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Different color for window with bell #209

Open
acristoffers opened this issue May 7, 2023 · 0 comments
Open

Enhancement: Different color for window with bell #209

acristoffers opened this issue May 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@acristoffers
Copy link

acristoffers commented May 7, 2023

As of now the only difference for a window with a bell is that the text gets bold, which is barely visible. I suggest changing the font color to make it more evident.

I did it in my configuration file (end of dracula.sh) by copying your line and changing it:

set-window-option -g window-status-format "#[fg=#{?window_bell_flag,##ffb86c,##ffffff}]#[bg=#44475a] #I #W#{?window_flags,#[fg=##6272a4]#{window_flags},}"

with the relevant portion being

#{?window_bell_flag,##ffb86c,##ffffff}

which needs to have the colors reverted back to their names.

With this change, calling

echo -e '\a'

on a shell (possibly with a pause before it, or a command you want to be notified when it finishes) will make the window name change to orange. If you're working on another window while you wait, this will be much more obvious than a indistinguishable bold font.

@acristoffers acristoffers added the enhancement New feature or request label May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant