diff options
Diffstat (limited to 'dot_wezterm.lua')
| -rw-r--r-- | dot_wezterm.lua | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dot_wezterm.lua b/dot_wezterm.lua new file mode 100644 index 0000000..92d96e4 --- /dev/null +++ b/dot_wezterm.lua @@ -0,0 +1,41 @@ +-- Pull in the wezterm API +local wezterm = require 'wezterm' + +-- This will hold the configuration. +local config = wezterm.config_builder() +disable_default_key_bindings = true + +-- This is where you actually apply your config choices +-- For example, changing the color scheme: +config.color_scheme = 'OneHalfDark' +config.enable_wayland = false +config.enable_tab_bar = false +config.font = wezterm.font_with_fallback { + 'Departure Mono', + 'Noto Color Emoji', + -- 'CommitMono', + 'Noto Sans CJK JP Medium', +} + +config.keys = { + { + key = 'n', + mods = 'SHIFT|CTRL', + action = wezterm.action.ToggleFullScreen, + }, + { + key = 'Enter', + mods = 'ALT', + action = wezterm.action.DisableDefaultAssignment, + }, +} + +config.colors = { + -- The default background color + background = 'black', +} +config.use_ime = true +config.window_background_opacity = 0.9 +config.font_size = 11.5 +-- and finally, return the configuration to wezterm +return config |
