diff --git a/SwarselSystems.org b/SwarselSystems.org index baba124..e90e8f2 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -14604,13 +14604,14 @@ This app checks for different apps that I keep around in the scratchpad for quic :END: #+begin_src shell :tangle files/scripts/swarselzellij.sh - KITTIES=$(($(pgrep -P 1 kitty | wc -l) - 1)) + # KITTIES=$(($(pgrep -P 1 kitty | wc -l) - 1)) - if ((KITTIES < 1)); then - exec kitty -o confirm_os_window_close=0 zellij attach --create main - else - exec kitty -o confirm_os_window_close=0 zellij attach --create "temp $KITTIES" - fi + # if ((KITTIES < 1)); then + # exec kitty -o confirm_os_window_close=0 zellij attach --create main + # else + # exec kitty -o confirm_os_window_close=0 zellij attach --create "temp $KITTIES" + # fi + exec kitty -o confirm_os_window_close=0 zellij #+end_src #+begin_src nix-ts :tangle pkgs/swarselzellij/default.nix diff --git a/files/scripts/swarselzellij.sh b/files/scripts/swarselzellij.sh index fc82258..24a1ac6 100644 --- a/files/scripts/swarselzellij.sh +++ b/files/scripts/swarselzellij.sh @@ -1,7 +1,8 @@ -KITTIES=$(($(pgrep -P 1 kitty | wc -l) - 1)) +# KITTIES=$(($(pgrep -P 1 kitty | wc -l) - 1)) -if ((KITTIES < 1)); then - exec kitty -o confirm_os_window_close=0 zellij attach --create main -else - exec kitty -o confirm_os_window_close=0 zellij attach --create "temp $KITTIES" -fi +# if ((KITTIES < 1)); then +# exec kitty -o confirm_os_window_close=0 zellij attach --create main +# else +# exec kitty -o confirm_os_window_close=0 zellij attach --create "temp $KITTIES" +# fi +exec kitty -o confirm_os_window_close=0 zellij