splits out configuration into central modules
This commit is contained in:
parent
58ffb417dd
commit
b44654b9a2
63 changed files with 20 additions and 20 deletions
|
|
@ -1,22 +0,0 @@
|
|||
local wezterm = require("wezterm")
|
||||
local hn = wezterm.hostname()
|
||||
local helpers = require("helpers")
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.apply_to_config(config)
|
||||
if hn == "dnsc-work" then
|
||||
config.window_background_opacity = 0.975
|
||||
config.font_size = 19
|
||||
end
|
||||
|
||||
if hn == "dnsc-desktop" then
|
||||
config.font = wezterm.font("Victor Mono", { weight = "DemiBold" })
|
||||
config.font_size = 14
|
||||
config.window_decorations = "RESIZE"
|
||||
config.window_padding = helpers.get_padding(18, 6)
|
||||
config.window_background_opacity = 1
|
||||
end
|
||||
end
|
||||
|
||||
return M
|
||||
Loading…
Add table
Add a link
Reference in a new issue