From 28341a31e9bdbfdbac4d2984e832e0b54ed0d242 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Thu, 11 Jul 2024 15:05:56 +0700 Subject: [PATCH] hyprland: defaults to wezterm if enabled --- home/modules/hyprland/hyprland.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index e7380e4..67afeda 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -82,7 +82,11 @@ in # https://wiki.hyprland.org/Configuring/Binds bind = [ # Programs - "$mod, RETURN, exec, kitty" + ( + if config.profile.programs.wezterm.enable + then "$mod, RETURN, exec, wezterm-gui" + else "$mod, RETURN, exec, kitty" + ) "$mod, E, exec, thunar" "$mod, B, exec, microsoft-edge" "$mod, D, exec, rofi -show drun -replace -i"