this repo has no description
dotfiles
1local hostname = (function()
2 local f = io.popen '/bin/hostname'
3 local hostname = f:read('*a') or ''
4 f:close()
5 hostname = hostname:gsub('\n$', '')
6 return hostname
7end)()
8
9local wezterm = require 'wezterm'
10
11local config = {
12 audible_bell = 'Disabled',
13 enable_wayland = true,
14 hide_tab_bar_if_only_one_tab = true,
15 initial_cols = 120,
16 initial_rows = 30,
17 tab_bar_at_bottom = true,
18 term = 'wezterm',
19 use_fancy_tab_bar = false,
20 use_ime = true,
21 use_resize_increments = true
22}
23
24local DEFAULT_FONT_SIZE = 12
25local font_size = ({})[hostname] or DEFAULT_FONT_SIZE
26
27config.font = wezterm.font 'Cascadia Code PL'
28config.font_size = font_size
29
30if hostname == 'melina' then
31 config.window_background_opacity = 0.95
32end
33
34return config