more XDG refactors; now with scwrypts v5 going into main I can finally include FROG 🐸
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user