wezterm: move wayland_scroll_factor to machine-local local.lua
This commit is contained in:
6
wezterm/.config/wezterm/.gitignore
vendored
Normal file
6
wezterm/.config/wezterm/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
# Machine-local overrides — not tracked in dotfiles
|
||||
# Create local.lua returning a function that mutates config, e.g.:
|
||||
# return function(config)
|
||||
# config.wayland_scroll_factor = 0.15
|
||||
# end
|
||||
local.lua
|
||||
@@ -12,12 +12,15 @@ config.colors = theme.colors()
|
||||
config.enable_tab_bar = false
|
||||
config.window_close_confirmation = 'NeverPrompt'
|
||||
|
||||
config.wayland_scroll_factor = 0.15
|
||||
|
||||
-- Wayland specific fixes
|
||||
config.enable_wayland = true
|
||||
|
||||
-- Enable Kitty keyboard protocol for better key disambiguation (Ctrl+I vs Tab)
|
||||
config.enable_kitty_keyboard = true
|
||||
|
||||
-- Machine-local overrides (not tracked in dotfiles)
|
||||
-- Create ~/.config/wezterm/local.lua returning a function that mutates config
|
||||
local ok, local_config = pcall(require, 'local')
|
||||
if ok then local_config(config) end
|
||||
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user