public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to extend the tmux status 'title' for each pane or window
Date: Sat, 7 Jun 2014 11:33:45 +0100	[thread overview]
Message-ID: <201406071134.02418.michaelkintzios@gmail.com> (raw)
In-Reply-To: <20FC1906-C478-41B4-8822-6BC635FE19D3@stellar.eclipse.co.uk>


[-- Attachment #1.1: Type: Text/Plain, Size: 1805 bytes --]

On Tuesday 03 Jun 2014 15:16:56 Stroller wrote:
> On Tue, 3 June 2014, at 6:59 am, Mick <michaelkintzios@gmail.com> wrote:
> >> …
> >> I have:
> >> 
> >> …
> >> status-left "#[fg=blue]#T"
> >> …
> >> status-right "#[fg=blue][#S]"
> >> …
> > 
> > Thanks Stroller,
> > 
> > On the left status bar I see this:
> > 
> > [0] 0:bash*
> > 
> > with one window open.  As I create more windows it adds to it like so:
> > 
> > [0] 0:bash  1:bash- 2:bash*
> > 
> > 
> > The right hand side shows the prompt, or command being run, but not all
> > of it if it is too long.
> > 
> > …
> > status-left "[#S]"
> > …
> > status-right ""#22T" %H:%M %d-%b-%y"
> 
> It looks to me like I've merely swapped left and right panes because,
> presumably, I thought it looked better that way.
> 
> And I've removed the clock - that's one way you could reclaim some screen
> space.

Right, on my default setup the clock is on the right, the number of windows on 
the left and the title in the middle.

As is the title shows:

"root@compaq:/usr/src/l"

instead of "root@compaq:/usr/src/linux".  This is what I mean of it being cut 
short.


[snip ...]
> As I say, I don't seem to be firing on all cylinders right now, but it
> doesn't look to me like the "commands being run" are shown where you say
> they are, not on the far right, at least.
> 
> I think they're shown in the *middle* section of the status bar.

Yes, they are shown in the middle, but on a 82x25 pixel terminal the title is 
displayed about 2/3 towards the right of the status bar, right against the 
clock.  See attached screenshot.

Running tmux set -g status-right "#32T" removed the clock and increased the 
real estate for the title bar.

Thanks again Stroller.

-- 
Regards,
Mick

[-- Attachment #1.2: tmux.png --]
[-- Type: image/png, Size: 12576 bytes --]

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2014-06-07 10:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-31 15:22 [gentoo-user] How to extend the tmux status 'title' for each pane or window Mick
2014-06-02 14:17 ` Stroller
2014-06-03  5:59   ` Mick
2014-06-03 14:16     ` Stroller
2014-06-07 10:33       ` Mick [this message]
2014-06-10 15:44         ` [gentoo-user] " Jonathan Callen
2014-06-14 20:27           ` Mick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201406071134.02418.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox