This commit is contained in:
albert 2024-04-08 22:10:15 +09:00
parent a0cddcb074
commit 37e52fed17
No known key found for this signature in database
GPG key ID: 64F6C4EB46C4543A
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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