diff --git a/home-manager/features/hyprland.nix b/home-manager/features/hyprland.nix index 803f4b3..2103527 100644 --- a/home-manager/features/hyprland.nix +++ b/home-manager/features/hyprland.nix @@ -16,7 +16,7 @@ "DP-1, 2560x1440, -1440x-510, 1, transform, 1" ]; - "$terminal" = "alacritty"; + "$terminal" = "wezterm"; "$fileManager" = "dolphin"; # TODO: Extract the themes I want into Home Manager "$menu" = "rofi -show drun -theme .config/rofi/launchers/type-3/style-1.rasi"; diff --git a/home-manager/features/terminal.nix b/home-manager/features/terminal.nix index 386acae..d6d1a6b 100644 --- a/home-manager/features/terminal.nix +++ b/home-manager/features/terminal.nix @@ -16,6 +16,27 @@ # Allow Home Manager to set fonts. fonts.fontconfig.enable = true; + programs.wezterm = { + enable = true; + enableZshIntegration = true; + enableBashIntegration = true; + extraConfig = '' + local act = wezterm.action; + return { + color_scheme = "tokyonight_night", + window_background_opacity = 0.80, + font = wezterm.font "FiraCode Nerd Font", + font_size = 13, + hide_tab_bar_if_only_one_tab = true, + -- Keys + keys = { + -- paste from the clipboard + { key = 'v', mods = 'CTRL|SHIFT', action = act.PasteFrom 'Clipboard' }, + } + } + ''; + }; + programs.alacritty = { enable = true; settings = {