kitten-@-set-tab-color(1)
π
kitten-@-set-tab-color(1) β tab color slay, bestie π
π NAME π
kitten-@-set-tab-color β change the color of the specified tabs in the tab bar. That's the whole assignment. You point at tabs, you give them a color moment, and they eat. π
β¨
π οΈ USAGE π οΈ
Okay bestie, the call is literally:
kitten @ set-tab-color COLORS
β¨ DESCRIPTION β¨
Change the color of the specified tabs in the tab bar. No cap.
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. So yes, you can absolutely undo the glow-up and go back to defaults. π
π OPTIONS π
Here are the flags, and yes we're going through every single one:
--match,-mβ The tab to match. Match specifications are of the form:field:query. Wherefieldcan be one of:id,index,title,window_id,window_title,pid,cwd,cmdline,env,var,state,sessionandrecent.queryis the expression to match. Expressions can be either a number or a regular expression, and can be combined using Boolean operators.
The special value all matches all tabs. iykyk
- Numeric fields: for
id,index,window_id,pidandrecent, the expression is interpreted as a number, not a regular expression. Negative values forid/window_idmatch from the highest id number down, in particular,-1is the most recently created tab/window. titleorid: when usingtitleorid, 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.window_idandwindow_title: you can also usewindow_idandwindow_titleto match the tab that contains the window with the specified id or title.index: theindexnumber is used to match the nth tab in the currently active OS window.recent: therecentnumber 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.session: the fieldsessionmatches tabs that were created in the specified session. Use the expression^$to match windows that were not created in a session and.to match the currently active session and~to match either the currently active session or the last active session when no session is active.env: when using theenvfield 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,varmatches tabs containing any window with the specified user variable.state: the fieldstatematches on the state of the tab. Supported states are:active,focused,needs_attention,parent_active,parent_focusedandfocused_os_window. 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. The valuefocused_os_windowmatches all tabs in the currently focused OS window.
Note that you can use the kitten @ ls command to get a list of tabs. lowkey useful fr fr π¦
--self [=no]β Close the tab this command is run in, rather than the active tab. That's what it says, bestie. π--help,-h [=no]β Show help for this command. The classic "help me help you" moment. π«Ά
π GLOBAL OPTIONS π
--toβ An address for the kitty instance to control. Corresponds to the address given to the kitty instance via the--listen-onoption or thelisten_onsetting inkitty.conf. If not specified, the environment variableKITTY_LISTEN_ONis checked. If that is also not found, messages are sent to the controlling terminal for this process, i.e. they will only work if this process is run within a kitty window.--passwordβ A password to use when contacting kitty. This will cause kitty to ask the user for permission to perform the specified action, unless the password has been accepted before or is pre-configured inkitty.conf. To use a blank password specify--use-passwordasalways.--password-file [=rc-pass]β A file from which to read the password. Trailing whitespace is ignored. Relative paths are resolved from the kitty configuration directory. Use-to read from STDIN. Usefd:numto read from the file descriptornum. Used if no--passwordis supplied. Defaults to checking for therc-passfile in the kitty configuration directory.--password-env [=KITTY_RC_PASSWORD]β The name of an environment variable to read the password from. Used if no--password-fileis supplied. Defaults to checking the environment variableKITTY_RC_PASSWORD.--use-password [=if-available]β If no password is available, kitty will usually just send the remote control command without a password. This option can be used to force it to always or never use the supplied password. If set toalwaysand no password is provided, the blank password is used.
Choices: if-available, always, never
xoxo, bestie π this page is from the kitten manual, version 0.49.2, dated Oct 01, 2026. periodt. ππ
π¦ where this page comes from
- arch rolling: kitty 0.49.2-1 Β· GPL-3.0-only
- nixpkgs unstable: kitty-bin 0.49.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms