notification(
:tmux,
display_message: true,
timeout: 5, # in seconds
default_message_format: '%s >> %s',
# the first %s will show the title, the second the message
# Alternately you can also configure *success_message_format*,
# *pending_message_format*, *failed_message_format*
line_separator: ' > ', # since we are single line we need a separator
color_location: 'status-left-bg', # to customize which tmux element will change color
# Colors
default_message_color: 'colour222',
default: 'colour27',
success_message_color: 'colour16',
success: 'colour82',
failed_message_color: 'colour16',
failed: 'colour196',
pending_message_color: 'colour16',
pending: 'colour220',
# Notify on all tmux clients
display_on_all_clients: false
)
Then when I use the status line for anything else, it isn't my default global color but one of the ones above.
Currently in Guard, if I use:
Then when I use the status line for anything else, it isn't my default global color but one of the ones above.
An example is showing the "wrong" colors is:
I would like it after each notification that it restores the colors by doing
tmux set-option -u
on each of the values it set.