tmux popup set bg colour ?

257 views
Skip to first unread message

M Kelly

unread,
Jan 24, 2021, 10:48:47 AM1/24/21
to tmux-users
Hi,

Thank you for tmux, it is so awesome.
Is it possible to set the background colour of a popup, something like -

tmux popup -d '#{pane_current_path}' -KER "tmux set -w window-style \"bg=black\" ; bash_ask $*"

(bash_ask is just a wrapper that prompts y/n before running the cmd provided)

But I think I need to specify which window ?  Is that possible somehow ?

thx,
-m

Nicholas Marriott

unread,
Jan 24, 2021, 4:00:42 PM1/24/21
to M Kelly, tmux-users
You should be able to do eg

printf '\033]11;rgb:30/00/00\007'

To set the bg colour, same as for a pane.



--
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/55d4dbac-fef5-430c-b7b0-ef18b13762c9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages