summaryrefslogtreecommitdiff
path: root/.config/wezterm/wezterm.lua
blob: 4117e89dd1071a6b97cef87fe62fe85ac62a7e23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
local wezterm = require 'wezterm'

local dark = require 'dark-scheme'
local bright = require 'bright-scheme'

local conf = {}

function get_appearance()
  if wezterm.gui then
    return wezterm.gui.get_appearance()
  end
  return 'Dark'
end

function colors_for_appearance(appearance)
  if appearance:find 'Dark' then
    return dark
  else
    return dark
  end
end

conf.colors = colors_for_appearance(get_appearance())
conf.font = wezterm.font "Fira Code"
conf.hide_tab_bar_if_only_one_tab = true
conf.font_size = 13
conf.window_padding = {
  left = 0,
  right = 0,
  top = 0,
  bottom = 0,
}
conf.window_close_confirmation = 'NeverPrompt'

conf.window_background_opacity = 0.999
conf.native_macos_fullscreen_mode = true

conf.default_prog = { "zellij" }

return conf