From 95e20a7dfe5a621319a1260d5d9a2f1550a8c7cb Mon Sep 17 00:00:00 2001 From: Kabbone Date: Fri, 26 Dec 2025 12:29:27 +0100 Subject: [PATCH] fix zsh ini for Wayland --- modules/shell/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shell/zsh.nix b/modules/shell/zsh.nix index cc09303..4b3ad2e 100644 --- a/modules/shell/zsh.nix +++ b/modules/shell/zsh.nix @@ -19,7 +19,7 @@ }; initContent = '' - if [[ $DISPLAY ]]; then + if [[ $WAYLAND_DISPLAY ]]; then [[ $- != *i* ]] && return [[ -z "$TMUX" ]] && (tmux attach || tmux new-session) fi