feat(kitty): add kitty configs
Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
4c820b8e26
commit
a8fe92f55a
20 changed files with 1757 additions and 0 deletions
18
playbooks/roles/shell/templates/kitty/colors/ayu_dark.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/ayu_dark.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #b3b1ad
|
||||
background #0a0e14
|
||||
color0 #00010a
|
||||
color4 #53bdfa
|
||||
color6 #90e1c6
|
||||
color2 #91b362
|
||||
color5 #fae994
|
||||
color1 #ea6c73
|
||||
color7 #c7c7c7
|
||||
color3 #f9af4f
|
||||
color8 #686868
|
||||
color12 #59c2ff
|
||||
color14 #95e6cb
|
||||
color10 #c2d94c
|
||||
color13 #ffee99
|
||||
color9 #f07178
|
||||
color15 #ffffff
|
||||
color11 #ffb454
|
18
playbooks/roles/shell/templates/kitty/colors/ayu_mirage.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/ayu_mirage.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #cbccc6
|
||||
background #1f2430
|
||||
color0 #191e2a
|
||||
color4 #6dcbfa
|
||||
color6 #90e1c6
|
||||
color2 #a6cc70
|
||||
color5 #cfbafa
|
||||
color1 #ed8274
|
||||
color7 #c7c7c7
|
||||
color3 #fad07b
|
||||
color8 #686868
|
||||
color12 #73d0ff
|
||||
color14 #95e6cb
|
||||
color10 #bae67e
|
||||
color13 #d4bfff
|
||||
color9 #f28779
|
||||
color15 #ffffff
|
||||
color11 #ffd580
|
58
playbooks/roles/shell/templates/kitty/colors/convert.py
Executable file
58
playbooks/roles/shell/templates/kitty/colors/convert.py
Executable file
|
@ -0,0 +1,58 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
import yaml
|
||||
|
||||
|
||||
COLOR_MAPPING = {
|
||||
"primary": {
|
||||
"foreground": "foreground",
|
||||
"background": "background",
|
||||
},
|
||||
"cursor": {"cursor": "cursor", "text": "cursor_text_color"},
|
||||
"normal": {
|
||||
"black": "color0",
|
||||
"blue": "color4",
|
||||
"cyan": "color6",
|
||||
"green": "color2",
|
||||
"magenta": "color5",
|
||||
"red": "color1",
|
||||
"white": "color7",
|
||||
"yellow": "color3",
|
||||
},
|
||||
"bright": {
|
||||
"black": "color8",
|
||||
"blue": "color12",
|
||||
"cyan": "color14",
|
||||
"green": "color10",
|
||||
"magenta": "color13",
|
||||
"red": "color9",
|
||||
"white": "color15",
|
||||
"yellow": "color11",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
def map_section(f, values, section_name):
|
||||
for key, value in values[section_name].items():
|
||||
maps_to = COLOR_MAPPING[section_name].get(key)
|
||||
if not maps_to:
|
||||
continue
|
||||
|
||||
print(f"{maps_to} {value}", file=f)
|
||||
|
||||
|
||||
def main():
|
||||
name = sys.argv[1]
|
||||
|
||||
loaded_config = None
|
||||
with open(f"{name}.yml", "r") as input_file:
|
||||
loaded_config = yaml.load(input_file)["colors"]
|
||||
|
||||
with open(f"{name}.conf", "w") as output_file:
|
||||
for section in loaded_config:
|
||||
map_section(output_file, loaded_config, section)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
18
playbooks/roles/shell/templates/kitty/colors/default.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/default.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
background #333333
|
||||
foreground #F2F2F2
|
||||
color0 #333333
|
||||
color1 #CC0000
|
||||
color2 #4E9A06
|
||||
color3 #C4A000
|
||||
color4 #3465A4
|
||||
color5 #75507B
|
||||
color6 #06989A
|
||||
color7 #D3D7CF
|
||||
color8 #88807C
|
||||
color9 #F15D22
|
||||
color10 #73C48F
|
||||
color11 #FFCE51
|
||||
color12 #48B9C7
|
||||
color13 #AD7FA8
|
||||
color14 #34E2E2
|
||||
color15 #EEEEEC
|
18
playbooks/roles/shell/templates/kitty/colors/night_owl.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/night_owl.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #d6deeb
|
||||
background #000000
|
||||
color0 #011627
|
||||
color4 #82AAFF
|
||||
color6 #21c7a8
|
||||
color2 #22da6e
|
||||
color5 #C792EA
|
||||
color1 #EF5350
|
||||
color7 #ffffff
|
||||
color3 #c5e478
|
||||
color8 #575656
|
||||
color12 #82AAFF
|
||||
color14 #7fdbca
|
||||
color10 #22da6e
|
||||
color13 #C792EA
|
||||
color9 #EF5350
|
||||
color15 #ffffff
|
||||
color11 #ffeb95
|
18
playbooks/roles/shell/templates/kitty/colors/ocean.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/ocean.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #8F93A2
|
||||
background #0F111A
|
||||
color0 #000000
|
||||
color4 #3A75C4
|
||||
color6 #87D3F8
|
||||
color2 #14B37D
|
||||
color5 #703FAF
|
||||
color1 #E25822
|
||||
color7 #FFFFFF
|
||||
color3 #F2F27A
|
||||
color8 #3A75C4
|
||||
color12 #3A75C4
|
||||
color14 #87D3F8
|
||||
color10 #14B37D
|
||||
color13 #703FAF
|
||||
color9 #E25822
|
||||
color15 #F3EFE0
|
||||
color11 #F2F27A
|
18
playbooks/roles/shell/templates/kitty/colors/one_dark_pro.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/one_dark_pro.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #abb2bf
|
||||
background #282c34
|
||||
color0 #3f4451
|
||||
color4 #4aa5f0
|
||||
color6 #42b3c2
|
||||
color2 #8cc265
|
||||
color5 #c162de
|
||||
color1 #e05561
|
||||
color7 #e6e6e6
|
||||
color3 #d18f52
|
||||
color8 #4f5666
|
||||
color12 #4dc4ff
|
||||
color14 #4cd1e0
|
||||
color10 #a5e075
|
||||
color13 #de73ff
|
||||
color9 #ff616e
|
||||
color15 #d7dae0
|
||||
color11 #f0a45d
|
18
playbooks/roles/shell/templates/kitty/colors/outrun_electric.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/outrun_electric.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #e4eeff
|
||||
background #090819
|
||||
color0 #283034
|
||||
color1 #ff2e97
|
||||
color2 #62a9cf
|
||||
color3 #ffd400
|
||||
color4 #42c6ff
|
||||
color5 #ff2afc
|
||||
color6 #42c6ff
|
||||
color7 #d9e0e9
|
||||
color8 #435056
|
||||
color9 #ff2e97
|
||||
color10 #add0e5
|
||||
color11 #ffd400
|
||||
color12 #42c6ff
|
||||
color13 #ff2afc
|
||||
color14 #42c6ff
|
||||
color15 #f4f6f9
|
18
playbooks/roles/shell/templates/kitty/colors/rainier.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/rainier.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #b3c8dc
|
||||
background #171d23
|
||||
color0 #171d23
|
||||
color4 #509ddb
|
||||
color6 #509ddb
|
||||
color2 #37c2b6
|
||||
color5 #b9346c
|
||||
color1 #b9346c
|
||||
color7 #b3c8dc
|
||||
color3 #c9c994
|
||||
color8 #627d96
|
||||
color12 #509ddb
|
||||
color14 #509ddb
|
||||
color10 #37c2b6
|
||||
color13 #9d79d8
|
||||
color9 #b9346c
|
||||
color15 #f2f2f2
|
||||
color11 #d6af78
|
18
playbooks/roles/shell/templates/kitty/colors/rainier_retro.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/rainier_retro.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
foreground #b9d3e9
|
||||
background #201825
|
||||
color0 #201825
|
||||
color4 #509ddb
|
||||
color6 #509ddb
|
||||
color2 #37c2b6
|
||||
color5 #b9346c
|
||||
color1 #b9346c
|
||||
color7 #b9d3e9
|
||||
color3 #c9c994
|
||||
color8 #7B6296
|
||||
color12 #509ddb
|
||||
color14 #509ddb
|
||||
color10 #37c2b6
|
||||
color13 #9d79d8
|
||||
color9 #b9346c
|
||||
color15 #f2f2f2
|
||||
color11 #d6af78
|
20
playbooks/roles/shell/templates/kitty/colors/solarized_dark.conf
Executable file
20
playbooks/roles/shell/templates/kitty/colors/solarized_dark.conf
Executable file
|
@ -0,0 +1,20 @@
|
|||
background #002b36
|
||||
foreground #839496
|
||||
cursor_text_color #002b36
|
||||
cursor #839496
|
||||
color0 #073642
|
||||
color1 #dc322f
|
||||
color2 #859900
|
||||
color3 #b58900
|
||||
color4 #268bd2
|
||||
color5 #d33682
|
||||
color6 #2aa198
|
||||
color7 #eee8d5
|
||||
color8 #002b36
|
||||
color9 #cb4b16
|
||||
color10 #586e75
|
||||
color11 #657b83
|
||||
color12 #839496
|
||||
color13 #6c71c4
|
||||
color14 #93a1a1
|
||||
color15 #fdf6e3
|
20
playbooks/roles/shell/templates/kitty/colors/solarized_light.conf
Executable file
20
playbooks/roles/shell/templates/kitty/colors/solarized_light.conf
Executable file
|
@ -0,0 +1,20 @@
|
|||
background #fdf6e3
|
||||
foreground #657b83
|
||||
cursor_text_color #fdf6e3
|
||||
cursor #657b83
|
||||
color0 #073642
|
||||
color1 #dc322f
|
||||
color2 #859900
|
||||
color3 #b58900
|
||||
color4 #268bd2
|
||||
color5 #d33682
|
||||
color6 #2aa198
|
||||
color7 #eee8d5
|
||||
color8 #002b36
|
||||
color9 #cb4b16
|
||||
color10 #586e75
|
||||
color11 #657b83
|
||||
color12 #839496
|
||||
color13 #6c71c4
|
||||
color14 #93a1a1
|
||||
color15 #fdf6e3
|
18
playbooks/roles/shell/templates/kitty/colors/tokyo_night.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/tokyo_night.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
background #1a1b26
|
||||
foreground #a9b1d6
|
||||
color0 #32344a
|
||||
color1 #f7768e
|
||||
color2 #9ece6a
|
||||
color3 #e0af68
|
||||
color4 #7aa2f7
|
||||
color5 #ad8ee6
|
||||
color6 #449dab
|
||||
color7 #787c99
|
||||
color8 #444b6a
|
||||
color9 #ff7a93
|
||||
color10 #b9f27c
|
||||
color11 #ff9e64
|
||||
color12 #7da6ff
|
||||
color13 #bb9af7
|
||||
color14 #0db9d7
|
||||
color15 #acb0d0
|
18
playbooks/roles/shell/templates/kitty/colors/tokyo_night_storm.conf
Executable file
18
playbooks/roles/shell/templates/kitty/colors/tokyo_night_storm.conf
Executable file
|
@ -0,0 +1,18 @@
|
|||
background #24283b
|
||||
foreground #a9b1d6
|
||||
color0 #32344a
|
||||
color1 #f7768e
|
||||
color2 #9ece6a
|
||||
color3 #e0af68
|
||||
color4 #7aa2f7
|
||||
color5 #ad8ee6
|
||||
color6 #449dab
|
||||
color7 #9699a8
|
||||
color8 #444b6a
|
||||
color9 #ff7a93
|
||||
color10 #b9f27c
|
||||
color11 #ff9e64
|
||||
color12 #7da6ff
|
||||
color13 #bb9af7
|
||||
color14 #0db9d7
|
||||
color15 #acb0d0
|
|
@ -0,0 +1,21 @@
|
|||
background #ffffff
|
||||
foreground #4c4c4c
|
||||
cursor #4c4c4c
|
||||
selection_background #d6d6d6
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #c82828
|
||||
color9 #c82828
|
||||
color2 #708b00
|
||||
color10 #708b00
|
||||
color3 #e9b600
|
||||
color11 #e9b600
|
||||
color4 #4170ae
|
||||
color12 #4170ae
|
||||
color5 #8958a7
|
||||
color13 #8958a7
|
||||
color6 #3d999f
|
||||
color14 #3d999f
|
||||
color7 #fffefe
|
||||
color15 #fffefe
|
||||
selection_foreground #ffffff
|
|
@ -0,0 +1,39 @@
|
|||
background #1d1f21
|
||||
foreground #c5c8c6
|
||||
|
||||
cursor #c4c8c5
|
||||
|
||||
selection_background #363a41
|
||||
selection_foreground #1d1f21
|
||||
|
||||
# black and bright black
|
||||
color0 #1d1f21
|
||||
color8 #666666
|
||||
|
||||
# red and bright red
|
||||
color1 #cc6666
|
||||
color9 #ff3334
|
||||
|
||||
# green and bright green
|
||||
color2 #b5bd68
|
||||
color10 #9ec400
|
||||
|
||||
# yellow and bright yellow
|
||||
color3 #e6c547
|
||||
color11 #f0c674
|
||||
|
||||
# blue and bright blue
|
||||
color4 #81a2be
|
||||
color12 #81a2be
|
||||
|
||||
# magenta and bright magenta
|
||||
color5 #b294bb
|
||||
color13 #b77ee0
|
||||
|
||||
# cyan and bright cyan
|
||||
color6 #70c0ba
|
||||
color14 #54ced6
|
||||
|
||||
# grey and bright grey
|
||||
color7 #373b41
|
||||
color15 #282a2e
|
|
@ -0,0 +1,21 @@
|
|||
background #002450
|
||||
foreground #fffefe
|
||||
cursor #fffefe
|
||||
selection_background #003e8e
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #ff9ca3
|
||||
color9 #ff9ca3
|
||||
color2 #d0f0a8
|
||||
color10 #d0f0a8
|
||||
color3 #ffedac
|
||||
color11 #ffedac
|
||||
color4 #badaff
|
||||
color12 #badaff
|
||||
color5 #ebbaff
|
||||
color13 #ebbaff
|
||||
color6 #99ffff
|
||||
color14 #99ffff
|
||||
color7 #fffefe
|
||||
color15 #fffefe
|
||||
selection_foreground #002450
|
|
@ -0,0 +1,39 @@
|
|||
background #000000
|
||||
foreground #eaeaea
|
||||
|
||||
cursor #c4c8c5
|
||||
|
||||
selection_background #363a41
|
||||
selection_foreground #000000
|
||||
|
||||
# black and bright black
|
||||
color0 #000000
|
||||
color8 #666666
|
||||
|
||||
# red and bright red
|
||||
color1 #d54e53
|
||||
color9 #ff3334
|
||||
|
||||
# green and bright green
|
||||
color2 #b9ca4a
|
||||
color10 #9ec400
|
||||
|
||||
# yellow and bright yellow
|
||||
color3 #e6c547
|
||||
color11 #e7c547
|
||||
|
||||
# blue and bright blue
|
||||
color4 #7aa6da
|
||||
color12 #7aa6da
|
||||
|
||||
# magenta and bright magenta
|
||||
color5 #c397d8
|
||||
color13 #b77ee0
|
||||
|
||||
# cyan and bright cyan
|
||||
color6 #70c0ba
|
||||
color14 #54ced6
|
||||
|
||||
# grey and bright grey
|
||||
color7 #424242
|
||||
color15 #2a2a2a
|
|
@ -0,0 +1,21 @@
|
|||
background #2c2c2c
|
||||
foreground #cccccc
|
||||
cursor #cccccc
|
||||
selection_background #505050
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #f17779
|
||||
color9 #f17779
|
||||
color2 #99cc99
|
||||
color10 #99cc99
|
||||
color3 #ffcc66
|
||||
color11 #ffcc66
|
||||
color4 #6699cc
|
||||
color12 #6699cc
|
||||
color5 #cc99cc
|
||||
color13 #cc99cc
|
||||
color6 #66cccc
|
||||
color14 #66cccc
|
||||
color7 #fffefe
|
||||
color15 #fffefe
|
||||
selection_foreground #2c2c2c
|
1320
playbooks/roles/shell/templates/kitty/kitty.conf
Executable file
1320
playbooks/roles/shell/templates/kitty/kitty.conf
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue