mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 10:51:55 +00:00
Add an example for how to get a single color from @ get-colors
This commit is contained in:
parent
4f8843c5fd
commit
af8db1eb8f
1 changed files with 4 additions and 1 deletions
|
|
@ -23,7 +23,10 @@ class GetColors(RemoteCommand):
|
|||
short_desc = 'Get terminal colors'
|
||||
desc = (
|
||||
'Get the terminal colors for the specified window (defaults to active window).'
|
||||
' Colors will be output to stdout in the same syntax as used for :file:`kitty.conf`.'
|
||||
' Colors will be output to STDOUT in the same syntax as used for :file:`kitty.conf`.'
|
||||
'\n\nTo get a single color use:'
|
||||
'\n get-colors | grep "^background " | tr -s | cut -d" " -f2'
|
||||
'\n\nChange background above to whatever color you are interested in.'
|
||||
)
|
||||
options_spec = '''\
|
||||
--configured -c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue