feat: add zellij again

This commit is contained in:
Leon Schwarzäugl 2025-02-25 14:00:26 +01:00
parent 5b591ba10b
commit f2267de522
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
10 changed files with 564 additions and 658 deletions

View file

@ -25,7 +25,7 @@ if [[ $kitty -eq 1 ]]; then
STR=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]) | select(.name == "__i3_scratch")' | grep kittyterm || true)
CHECK=$(swaymsg -t get_tree | grep kittyterm || true)
if [ "$CHECK" == "" ]; then
exec kitty -T kittyterm &
exec kitty -T kittyterm -o confirm_os_window_close=0 zellij attach --create kittyterm &
sleep 1
fi
if [ "$STR" == "" ]; then