local wez = require 'wezterm' local cfg = wez.config_builder() require 'bugabinga.theme' ( cfg ) require 'bugabinga.startup' ( cfg ) require 'bugabinga.options' ( cfg ) require 'bugabinga.key_binds' ( cfg ) require 'bugabinga.mouse_binds' ( cfg ) require 'bugabinga.fonts' ( cfg ) require 'bugabinga.window' ( cfg ) require 'bugabinga.status' ( cfg ) require 'bugabinga.titles' ( cfg ) require 'bugabinga.launch' ( cfg ) require 'bugabinga.neovim_zen_mode' (cfg) require 'bugabinga.dotfiles_workspace' ( cfg ) require 'bugabinga.hosts' ( cfg ) -- sad sauce -- https://github.com/wezterm/wezterm/issues/5103 if os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then cfg.enable_wayland = false else cfg.enable_wayland = true end -- logs key presses -- cfg.debug_key_events = true, return cfg