# WezTerm terminal (SUPER+Return in Hyprland). Colours and the font come from # Stylix (theme/stylix.nix: scheme "stylix", Monaspace Krypton + Noto Color # Emoji, size 12); this file holds the rest of the configuration. { flake.modules.homeManager.wezterm = { lib, ... }: let action = lib.generators.mkLuaInline; in { programs.wezterm = { enable = true; settings = { # Wayland-native, no client-side titlebar (Hyprland draws the borders). enable_wayland = true; window_decorations = "NONE"; window_padding = { left = 8; right = 8; top = 8; bottom = 8; }; # A tab bar only when there is more than one tab. hide_tab_bar_if_only_one_tab = true; use_fancy_tab_bar = false; scrollback_lines = 20000; audible_bell = "Disabled"; check_for_updates = false; # Hyprland owns SUPER and ALT+Tab, so splits live on CTRL+SHIFT. # phys: keys are layout independent and work with the ru layout. keys = [ { key = "phys:D"; mods = "CTRL|SHIFT"; action = action "wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' }"; } { key = "phys:E"; mods = "CTRL|SHIFT"; action = action "wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' }"; } ]; }; }; }; }