Rule for auto-switch view mode with tab state

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
paravion
Junior Member
Junior Member
Posts: 28
Joined: 2016-06-23, 20:43 UTC

Rule for auto-switch view mode with tab state

Post by *paravion »

Dear Christian, please make a rule for auto-switching view mode depend on the tab state: locked, locked but directory changes allowed. This can set to identify a locked tabs
air
Junior Member
Junior Member
Posts: 77
Joined: 2005-02-10, 07:32 UTC
Location: Russia

Post by *air »

Yes. Internal variables for headers states can help solve many problems with icons and colorizing. And I think, colors must be as in all another places: not gradient, but bg & fg. Auto-swithing rules - the best plase for this in config.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Hm I'm not sure if it could work this way. In which cases would add such a condition to the rule and in which not? Can you give an example? What problem would be solved by this new rule?
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I can't also see any practical usage of this rule. Auto-switching rules are for events that occur frequently, like path change, but tab locking usually is a rare event...
Or is there any sense in distinguishing folder A in an unlocked tab and folder A in a locked one?
air
Junior Member
Junior Member
Posts: 77
Joined: 2005-02-10, 07:32 UTC
Location: Russia

Post by *air »

Lefteous wrote:Hm I'm not sure if it could work this way. In which cases would add such a condition to the rule and in which not? Can you give an example? What problem would be solved by this new rule?
Colors on locked, active and other tabs, and icons - all in one place in config.
air
Junior Member
Junior Member
Posts: 77
Joined: 2005-02-10, 07:32 UTC
Location: Russia

Post by *air »

MVV wrote:I can't also see any practical usage of this rule. Auto-switching rules are for events that occur frequently, like path change, but tab locking usually is a rare event...
Or is there any sense in distinguishing folder A in an unlocked tab and folder A in a locked one?
It's rare but continuos event.
Yes. It's too.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2air
Colors on locked, active and other tabs, and icons - all in one place in config.
Sorry, I don't see how this answers my question.
air
Junior Member
Junior Member
Posts: 77
Joined: 2005-02-10, 07:32 UTC
Location: Russia

Post by *air »

Add rule header == %locked% and set fg/bg value for it, for example.
Post Reply