repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by bugabinga

wezterm: clean up font settings and window settings

1088ab78f15267185a70adb826036bae8957699d

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (6)

+14 / −25 text lines

Diff layout

wezterm/bugabinga/code_fonts.csv

Modified

+1 / −0 text lines

3321,Generic Mono II
4430, Monaspace Neon Var
5520,Hermit
633, Tsukurimashou Kaku
6717,Oxygen Mono

wezterm/bugabinga/fonts.lua

Modified

+5 / −3 text lines

5656end )
5858return function ( cfg )
59 local font_size = 16.0
6059 local harfbuzz_features = {
6160 'calt',
6261 'liga',
130129 family = 'Monaspace Argon Var',
131130 weight = 'Thin',
132131 style = 'Italic',
133 harfbuzz_features = harfbuzz_features,
132 harfbuzz_features = hrfbuzz_features,
134133 },
135134 },
136135 }
137136 cfg.font = font
138 cfg.font_size = font_size
137 cfg.freetype_load_flags = 'NO_HINTING'
138 cfg.font_shaper = 'Harfbuzz'
139 cfg.font_size = 12.0
139140 cfg.font_rules = font_rules
141 cfg.underline_position = '142%'
140142 cfg.warn_about_missing_glyphs = false
141143end

wezterm/bugabinga/hosts/NB-00718.lua

Modified

+0 / −6 text lines

1local wez = require 'wezterm'
2
31return function ( cfg )
4 cfg.font_size = 15
5 cfg.font = wez.font 'Generic Mono II'
6
7 cfg.window_decorations = 'RESIZE'
82end

wezterm/bugabinga/hosts/fedora.lua

Modified

+0 / −5 text lines

1local wez = require 'wezterm'
2
31return function ( cfg )
4 cfg.window_decorations = 'RESIZE|NONE'
5 cfg.font_size = 12
6 cfg.font = wez.font 'Monaspace Neon Var';
72end

wezterm/bugabinga/hosts/x230.lua

Modified

+0 / −7 text lines

1local wez = require'wezterm'
2
31return function ( cfg )
4 cfg.window_decorations = 'RESIZE|NONE'
5 cfg.font_size = 11
6 cfg.font = wez.font 'M+ 2m'
7 -- old version of wezterm in arch has bug preventing to start wezterm wit wayland
8 cfg.enable_wayland = false
92end

wezterm/bugabinga/window.lua

Modified

+8 / −4 text lines

11return function ( cfg )
22 cfg.window_background_opacity = 1.0
3 cfg.window_decorations = 'NONE'
4 cfg.enable_wayland = true
3 cfg.window_decorations = 'RESIZE'
54 cfg.use_resize_increments = true
5 cfg.adjust_window_size_when_changing_font_size = false
6 cfg.window_content_alignment = {
7 horizontal = 'Center',
8 vertical = 'Center',
9 }
610 cfg.window_padding = {
7 left = 2,
8 right = 2,
11 left = 0,
12 right = 0,
913 top = 0,
1014 bottom = 0,
1115 }