kitten-@-set-tab-color(1) | kitten Manual | kitten-@-set-tab-color(1) |
kitten-@-set-tab-color - Change the color of the specified tabs in the tab bar
kitten @ set-tab-color COLORS |
Change the color of the specified tabs in the tab bar
The foreground and background colors when active and inactive can be overridden using this command. The syntax for specifying colors is: active_fg=color active_bg=color inactive_fg=color inactive_bg=color. Where color can be either a color name or a value of the form #rrggbb or the keyword NONE to revert to using the default colors.
The special value all matches all tabs.
For numeric fields: id, index, window_id, pid and recent, the expression is interpreted as a number, not a regular expression. Negative values for id/window_id match from the highest id number down, in particular, -1 is the most recently created tab/window.
When using title or id, first a matching tab is looked for, and if not found a matching window is looked for, and the tab for that window is used.
You can also use window_id and window_title to match the tab that contains the window with the specified id or title.
The index number is used to match the nth tab in the currently active OS window. The recent number matches recently active tabs in the currently active OS window, with zero being the currently active tab, one the previously active tab and so on.
When using the env field to match on environment variables, you can specify only the environment variable name or a name and value, for example, env:MY_ENV_VAR=2. Tabs containing any window with the specified environment variables are matched. Similarly, var matches tabs containing any window with the specified user variable.
The field state matches on the state of the tab. Supported states are: active, focused, needs_attention, parent_active and parent_focused. Active tabs are the tabs that are active in their parent OS window. There is only one focused tab and it is the tab to which keyboard events are delivered. If no tab is focused, the last focused tab is matched.
Note that you can use the kitten @ ls command to get a list of tabs.
Choices: if-available, always, never
November 11, 2024 | 0.32.2 |