macbook-setup/wezterm.lua
rene 5f5111fd70 wezterm: Cross-platform Terminal-Konfiguration hinzugefuegt
- wezterm.lua: Catppuccin Macchiato, MesloLGS NF, 120x35, plattformspezifische Fontgroesse
- setup-base.sh: WezTerm via offiziellem apt-Repository installieren
- setup-desktop.sh: ~/.wezterm.lua beim Desktop-Setup aus Repo laden
2026-03-30 19:12:15 +02:00

43 lines
2.5 KiB
Lua

-- ~/.wezterm.lua
-- Cross-platform Konfiguration fuer macOS und Linux (Xubuntu/XFCE)
-- Farben jederzeit aendern: config.color_scheme = '...'
-- Alle verfuegbaren Schemes: https://wezfurlong.org/wezterm/colorschemes/
local wezterm = require 'wezterm'
local config = wezterm.config_builder()
-- ── Plattform-Erkennung ──────────────────────────────────────────────────
local is_linux = wezterm.target_triple:find('linux') ~= nil
-- ── Farben ──────────────────────────────────────────────────────────────
config.color_scheme = 'Catppuccin Macchiato'
-- ── Schrift ─────────────────────────────────────────────────────────────
config.font = wezterm.font('MesloLGS NF')
config.font_size = is_linux and 12.0 or 13.0
-- ── Fenster ─────────────────────────────────────────────────────────────
config.initial_cols = 120
config.initial_rows = 35
config.window_padding = { left = 8, right = 8, top = 6, bottom = 6 }
config.scrollback_lines = 10000
config.enable_scroll_bar = false
-- ── Tab-Leiste ──────────────────────────────────────────────────────────
config.hide_tab_bar_if_only_one_tab = true
config.use_fancy_tab_bar = false
-- ── Cursor ──────────────────────────────────────────────────────────────
config.default_cursor_style = 'SteadyBar'
-- ── macOS ────────────────────────────────────────────────────────────────
if not is_linux then
config.native_macos_fullscreen_mode = true
end
-- ── Linux / XFCE (X11) ──────────────────────────────────────────────────
if is_linux then
config.enable_wayland = false
end
return config