picom and minor tmux fix

This commit is contained in:
2024-04-20 14:04:34 +02:00
parent 9a7c681389
commit 631756c480
3 changed files with 58 additions and 1 deletions

View File

@@ -35,7 +35,8 @@ in {
[[ ! -f ${./p10k.zsh} ]] || source ${./p10k.zsh}
eval "$(zoxide init --cmd cd zsh)"
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
exec tmux new-session -A -s $USER >/dev/null 2>&1
# exec tmux new-session -A -s $USER >/dev/null 2>&1
exec tmux new-session -s $USER >/dev/null 2>&1
fi
'';
};