From: Samir Benmendil Date: Tue, 1 Nov 2022 14:42:14 +0000 (+0000) Subject: xprofile: only set urxvt related env when needed X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/443fcd743c6d89a2419ed504aa2e32ad5b0369bd?ds=sidebyside xprofile: only set urxvt related env when needed --- diff --git a/xprofile.d/99-applications.sh b/xprofile.d/99-applications.sh index b0bc270..229a9e6 100755 --- a/xprofile.d/99-applications.sh +++ b/xprofile.d/99-applications.sh @@ -1,10 +1,12 @@ -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/font-size -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls -URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls/deprecated -export URXVT_PERL_LIB +if [[ "$TERMINAL" == "urxvtc" ]]; then + URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things + URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/font-size + URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls + URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls/deprecated + export URXVT_PERL_LIB + urxvtd -q -o -f +fi -[[ "$TERMINAL" == "urxvtc" ]] && urxvtd -q -o -f picom & unclutter --timeout 1 & xcape -e "Control_L=Escape;Control_R=Escape"