Mercurial > dotfiles
comparison dot_config/wezterm/wezterm.lua @ 461:a5fb80022655
Add wezterm config
author | zegervdv <zegervdv@me.com> |
---|---|
date | Mon, 20 Sep 2021 18:45:30 +0200 |
parents | |
children | e258ef0fb4cd |
comparison
equal
deleted
inserted
replaced
460:ae7e377bced8 | 461:a5fb80022655 |
---|---|
1 local wezterm = require 'wezterm' | |
2 | |
3 local localcfg_ok, localcfg = pcall(require, 'localconfig') | |
4 | |
5 local config = { | |
6 hide_tab_bar_if_only_one_tab = true, | |
7 | |
8 -- Color scheme | |
9 colors = { | |
10 foreground = "#abb2bf", | |
11 background = "#282c34", | |
12 cursor_bg = "#eeeeee", | |
13 cursor_border = "#eeeeee", | |
14 | |
15 selection_bg = "#ffc24b", | |
16 | |
17 ansi = { | |
18 "#393e48", | |
19 "#f43753", | |
20 "#c9d05c", | |
21 "#ffc24b", | |
22 "#b3deef", | |
23 "#c678dd", | |
24 "#73cef4", | |
25 "#eeeeee", | |
26 }, | |
27 brights = { | |
28 "#393e48", | |
29 "#f43753", | |
30 "#c9d05c", | |
31 "#ffc24b", | |
32 "#b3deef", | |
33 "#c678dd", | |
34 "#73cef4", | |
35 "#ffffff", | |
36 }, | |
37 | |
38 tab_bar = { | |
39 background = "#3a3f4b", | |
40 active_tab = { | |
41 bg_color = "#61afef", | |
42 fg_color = "#282c34", | |
43 }, | |
44 inactive_tab = { | |
45 bg_color = "#3a3f4b", | |
46 fg_color = "#abb2bf", | |
47 }, | |
48 inactive_tab_hover = { | |
49 bg_color = "#3a3f4b", | |
50 fg_color = "#abb2bf", | |
51 italic = false, | |
52 }, | |
53 new_tab = { | |
54 bg_color = "#3a3f4b", | |
55 fg_color = "#abb2bf", | |
56 italic = false, | |
57 }, | |
58 new_tab_hover = { | |
59 bg_color = "#3a3f4b", | |
60 fg_color = "#abb2bf", | |
61 italic = false, | |
62 }, | |
63 }, | |
64 }, | |
65 window_padding = { | |
66 left = 8, | |
67 right = 8, | |
68 top = 0, | |
69 bottom = 8, | |
70 }, | |
71 -- Font settings | |
72 font = wezterm.font_with_fallback { | |
73 {family="Fira Code Retina", weight = "Medium", italic=false}, | |
74 {family="Iosevka Term Italic"}, | |
75 }, | |
76 font_size = 9.0, | |
77 } | |
78 | |
79 if localcfg_ok then | |
80 config.ssh_domains = localcfg.ssh_domains | |
81 end | |
82 | |
83 return config |