From bb04c6845c27f6b1a8eee144d38e3f1986a243c7 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Sun, 18 Aug 2024 18:57:43 +0200 Subject: [PATCH] bash -> exec: Exec zellij on startup --- shell/bash/.bash_exec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/shell/bash/.bash_exec b/shell/bash/.bash_exec index f8b10c5..9773c9e 100644 --- a/shell/bash/.bash_exec +++ b/shell/bash/.bash_exec @@ -10,8 +10,10 @@ if [ "$(tty)" = /dev/tty5 ]; then exec gamescope -e -W 2560 -H 1440 -r 165 -- steam fi -# Start in tmux by default -# [[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux +# Start in zellij by default +export ZELLIJ_AUTO_EXIT=true +export ZELLIJ_CONFIG_FILE=~/.config/zellij/config.kdl +eval "$(zellij setup --generate-auto-start bash)" if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then jaaj