diff --git a/home-manager/common/desktops/hyprland/default.nix b/home-manager/common/desktops/hyprland/default.nix index 265a35ca..9d0018d6 100644 --- a/home-manager/common/desktops/hyprland/default.nix +++ b/home-manager/common/desktops/hyprland/default.nix @@ -13,7 +13,7 @@ gtk.enable = true; # Disable tmux on Hyprland - programs.bash.sessionVariables = { ENABLE_TMUX = "false"; }; + programs.bash.sessionVariables = { DISABLE_TMUX = "true"; }; stylix = { image = lib.mkForce /etc/nixos/git/wallpapers/${theme}/wallpaper1.png; diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index 1e780bd1..f91838eb 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -37,7 +37,7 @@ GPG_TTY=$(tty) EDITOR=vim ssh-add > /dev/null &> /dev/null - [[ -z "$TMUX" && "$ENABLE_TMUX" != "false" ]] && { tmux attach || exec tmux new-session && exit;} + [[ -z "$TMUX" && "$DISABLE_TMUX" = "true" ]] && { tmux attach || exec tmux new-session && exit;} ''; sessionVariables = { # Set the GTK Theme