Mercurial > dotfiles
comparison dot_config/wezterm/wezterm.lua @ 673:e258ef0fb4cd
Add prettier config (#1)
* Update .pre-commit-config.yaml
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
author | Zeger Van de Vannet <747627+zegervdv@users.noreply.github.com> |
---|---|
date | Thu, 29 Sep 2022 23:03:11 +0200 |
parents | a5fb80022655 |
children |
comparison
equal
deleted
inserted
replaced
672:627d2040c3ff | 673:e258ef0fb4cd |
---|---|
5 local config = { | 5 local config = { |
6 hide_tab_bar_if_only_one_tab = true, | 6 hide_tab_bar_if_only_one_tab = true, |
7 | 7 |
8 -- Color scheme | 8 -- Color scheme |
9 colors = { | 9 colors = { |
10 foreground = "#abb2bf", | 10 foreground = '#abb2bf', |
11 background = "#282c34", | 11 background = '#282c34', |
12 cursor_bg = "#eeeeee", | 12 cursor_bg = '#eeeeee', |
13 cursor_border = "#eeeeee", | 13 cursor_border = '#eeeeee', |
14 | 14 |
15 selection_bg = "#ffc24b", | 15 selection_bg = '#ffc24b', |
16 | 16 |
17 ansi = { | 17 ansi = { |
18 "#393e48", | 18 '#393e48', |
19 "#f43753", | 19 '#f43753', |
20 "#c9d05c", | 20 '#c9d05c', |
21 "#ffc24b", | 21 '#ffc24b', |
22 "#b3deef", | 22 '#b3deef', |
23 "#c678dd", | 23 '#c678dd', |
24 "#73cef4", | 24 '#73cef4', |
25 "#eeeeee", | 25 '#eeeeee', |
26 }, | 26 }, |
27 brights = { | 27 brights = { |
28 "#393e48", | 28 '#393e48', |
29 "#f43753", | 29 '#f43753', |
30 "#c9d05c", | 30 '#c9d05c', |
31 "#ffc24b", | 31 '#ffc24b', |
32 "#b3deef", | 32 '#b3deef', |
33 "#c678dd", | 33 '#c678dd', |
34 "#73cef4", | 34 '#73cef4', |
35 "#ffffff", | 35 '#ffffff', |
36 }, | 36 }, |
37 | 37 |
38 tab_bar = { | 38 tab_bar = { |
39 background = "#3a3f4b", | 39 background = '#3a3f4b', |
40 active_tab = { | 40 active_tab = { |
41 bg_color = "#61afef", | 41 bg_color = '#61afef', |
42 fg_color = "#282c34", | 42 fg_color = '#282c34', |
43 }, | 43 }, |
44 inactive_tab = { | 44 inactive_tab = { |
45 bg_color = "#3a3f4b", | 45 bg_color = '#3a3f4b', |
46 fg_color = "#abb2bf", | 46 fg_color = '#abb2bf', |
47 }, | 47 }, |
48 inactive_tab_hover = { | 48 inactive_tab_hover = { |
49 bg_color = "#3a3f4b", | 49 bg_color = '#3a3f4b', |
50 fg_color = "#abb2bf", | 50 fg_color = '#abb2bf', |
51 italic = false, | 51 italic = false, |
52 }, | 52 }, |
53 new_tab = { | 53 new_tab = { |
54 bg_color = "#3a3f4b", | 54 bg_color = '#3a3f4b', |
55 fg_color = "#abb2bf", | 55 fg_color = '#abb2bf', |
56 italic = false, | 56 italic = false, |
57 }, | 57 }, |
58 new_tab_hover = { | 58 new_tab_hover = { |
59 bg_color = "#3a3f4b", | 59 bg_color = '#3a3f4b', |
60 fg_color = "#abb2bf", | 60 fg_color = '#abb2bf', |
61 italic = false, | 61 italic = false, |
62 }, | 62 }, |
63 }, | 63 }, |
64 }, | 64 }, |
65 window_padding = { | 65 window_padding = { |
68 top = 0, | 68 top = 0, |
69 bottom = 8, | 69 bottom = 8, |
70 }, | 70 }, |
71 -- Font settings | 71 -- Font settings |
72 font = wezterm.font_with_fallback { | 72 font = wezterm.font_with_fallback { |
73 {family="Fira Code Retina", weight = "Medium", italic=false}, | 73 { family = 'Fira Code Retina', weight = 'Medium', italic = false }, |
74 {family="Iosevka Term Italic"}, | 74 { family = 'Iosevka Term Italic' }, |
75 }, | 75 }, |
76 font_size = 9.0, | 76 font_size = 9.0, |
77 } | 77 } |
78 | 78 |
79 if localcfg_ok then | 79 if localcfg_ok then config.ssh_domains = localcfg.ssh_domains end |
80 config.ssh_domains = localcfg.ssh_domains | |
81 end | |
82 | 80 |
83 return config | 81 return config |