Re: tmux ls -F formatting with shell command

2018-03-23 Thread Nicholas Marriott
ls -F does not wait for commands to finish so this will not work reliably, you will need to do it in a script so the shell can do the work. Something like: tmux ls -F '#{session_name} #{pane_pid}'|while read i; do set -- $i echo $1 $(/home/user/tmux-utils/process-display $2) done

Re: complete list of customisable keywords?

2018-03-23 Thread Nicholas Marriott
No only what is in the man page. On Fri, Mar 23, 2018 at 08:25:01AM +0530, Sivaram Neelakantan wrote: > On Thu, Mar 22 2018,Nicholas Marriott wrote: > > > In the manual perhaps? :-) > > > > Of course! :) > > I was looking for something that is grouped by > Session-->Windows-->Panes-->Misc. A

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

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
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
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: complete list of customisable keywords?

2018-03-23 Thread Clint Hepner
> On 2018 Mar 22 , at 1:40 a, Sivaram Neelakantan > wrote: > > I just realised that I can't make sense of the .tmux.conf file because > I can't remember what setw, -n, #P and other options stand for. Is there > a single location where all the config options are

Re: complete list of customisable keywords?

2018-03-23 Thread Scott Rochford
See the FORMATS section of the tmux man page , and everything else on that page... On 22 March 2018 at 16:40, Sivaram Neelakantan wrote: > I just realised that I can't make sense of the .tmux.conf file because >

Re: complete list of customisable keywords?

2018-03-23 Thread Thomas Adam
You've a few options: man tmux (look for FORMATS), as well as: tmux lscm -- Thomas Adam On 22 March 2018 at 05:40, Sivaram Neelakantan wrote: > I just realised that I can't make sense of the .tmux.conf file because > I can't remember what setw, -n, #P and other

Re: complete list of customisable keywords?

2018-03-23 Thread Yuriy Ershov
Hi, They are self-documented in the source code here https://github.com/tmux/tmux/blob/master/options-table.c :) If you do 'fgrep .name options-table.c', you will get it as a pretty readable list. Cheers, Yury On Thu, Mar 22, 2018 at 4:40 PM, Sivaram Neelakantan wrote: