Re: wishlist: switch-client hook

2018-03-23 Thread Thomas Sattler
Hi again ... Am 23.03.2018 um 13:20 schrieb Nicholas Marriott: There is client-session-changed hook which is fired by switch-client, can you use it? set-hook -g client-session-changed "set-option -s \ set-titles-string \"#W#{?client_readonly, (ro),}\"" would indeed work. Or can't you

Re: wishlist: switch-client hook

2018-03-23 Thread Nicholas Marriott
There is client-session-changed hook which is fired by switch-client, can you use it? Or can't you put the format in the option all the time but make it expand to empty when you don't want to see it? On 23 March 2018 at 10:55, Thomas Sattler wrote: > Am

Re: wishlist: switch-client hook

2018-03-23 Thread Thomas Sattler
Am 23.03.2018 um 11:49 schrieb Nicholas Marriott: The pane_input_off format doesn't have anything to with read-only clients (which would block the command)? Do you mean client_readonly? Yes of course. (I'm aware of the difference and I'm using both.) We can add a hook but not for 2.7.

Re: wishlist: switch-client hook

2018-03-23 Thread Nicholas Marriott
The pane_input_off format doesn't have anything to with read-only clients (which would block the command)? Do you mean client_readonly? We can add a hook but not for 2.7. On Fri, 23 Mar 2018, 10:44 Thomas Sattler, wrote: > Hi there ... > > I might be to late as