more XDG refactors; now with scwrypts v5 going into main I can finally include FROG 🐸

This commit is contained in:
2025-02-19 22:00:16 -07:00
parent a20d23ad5e
commit 0db79302d7
9 changed files with 196 additions and 16 deletions

View File

@ -1,12 +1,13 @@
case $TERM in
*kitty* | *alacritty* )
WELCOME
case ${TERM} in
( *kitty* | *alacritty* )
# when using desktop terminal emulators, automatically launch tmux/omni
# if no active omni client can be found
: \
&& [[ $(tmux -L omni.socket list-clients 2>/dev/null | wc -l) -eq 0 ]] \
&& scwrypts tmux omni \
|| WELCOME \
&& scwrypts -n tmux omni \
;
;;
* ) WELCOME ;;
esac
return 0