wezterm: move wayland_scroll_factor to machine-local local.lua

This commit is contained in:
Jonas H
2026-02-28 00:16:33 +01:00
parent f15f8916d4
commit b4544c4710
2 changed files with 11 additions and 2 deletions

6
wezterm/.config/wezterm/.gitignore vendored Normal file
View 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

View File

@@ -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