wezterm: font size based on os in overrides
This commit is contained in:
parent
a453b04a71
commit
2f009c7606
1 changed files with 5 additions and 1 deletions
|
@ -1,11 +1,15 @@
|
||||||
local wt = require('wezterm')
|
local wt = require('wezterm')
|
||||||
|
local fn = require('functions')
|
||||||
|
|
||||||
local current = {}
|
local current = {}
|
||||||
|
|
||||||
-- fonts
|
-- fonts
|
||||||
local fonts = wt.config_builder()
|
local fonts = wt.config_builder()
|
||||||
fonts.font = wt.font('JetBrains Mono')
|
fonts.font = wt.font('JetBrains Mono')
|
||||||
fonts.font_size = 11
|
fonts.font_size = fn.set_by_os{
|
||||||
|
Darwin = 14,
|
||||||
|
others = 11
|
||||||
|
}
|
||||||
fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0'}
|
fonts.harfbuzz_features = {'calt=0', 'clig=0', 'liga=0'}
|
||||||
|
|
||||||
-- theme
|
-- theme
|
||||||
|
|
Loading…
Reference in a new issue