mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-17 14:49:10 +02:00
feat: add zellij again
This commit is contained in:
parent
5b591ba10b
commit
f2267de522
10 changed files with 564 additions and 658 deletions
7
scripts/swarselzellij.sh
Normal file
7
scripts/swarselzellij.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
KITTIES=$(($(pgrep -P 1 kitty | wc -l) - 1))
|
||||
|
||||
if [[ $KITTIES -lt 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue