From 37e52fed17012c25f5fb75f7cab3dd2bee7787e8 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 8 Apr 2024 22:10:15 +0900 Subject: [PATCH] Updates --- home-manager/common/desktops/hyprland/default.nix | 2 +- home-manager/common/software/cli/bash.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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