[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detect when inside a split?
From: |
Amadeusz Sławiński |
Subject: |
Re: Detect when inside a split? |
Date: |
Tue, 24 Apr 2018 20:15:05 +0200 |
On Fri, 13 Apr 2018 17:36:12 +0100
David Woodfall <address@hidden> wrote:
> Is it possible to detect when inside a split so I can use a switch in
> my caption string?
>
> I'm using %F to detect if the region has focus and dim the other
> window names. This is OK in a split because it hides the other window
> names, but when in a single screen with no splits I'd like to make
> the list a bit more visible if possible.
>
Hi,
as far as I know there is no way, so I made a quick patch.
Need time to decide whether I should apply it, so you should apply it
yourself for now.
Cheers,
Amadeusz
0001-add-Z-escape-code-to-check-if-screen-is-split.patch
Description: Text Data