fix tint/conky-manager

master
Daniel Napora 2020-08-30 18:57:20 +02:00
parent 98159adc5b
commit 38f65e2f7c
1 changed files with 4 additions and 4 deletions

View File

@ -465,8 +465,8 @@ function getConky(){
fi fi
} }
function checkConkyzen(){ # see if mb-conkyzen and session file present function checkConkyzen(){ # see if mb-conky-manager and session file present
if type mb-conkyzen &>/dev/null;then if type mb-conky-manager &>/dev/null;then
if [[ -f $CONKYSESSION ]]; then if [[ -f $CONKYSESSION ]]; then
CZEN=1 # set flag for Restore choice CZEN=1 # set flag for Restore choice
fi fi
@ -520,7 +520,7 @@ function killTints(){
} }
function checkTint2zen(){ # see if mb-tint2zen and session file present function checkTint2zen(){ # see if mb-tint2zen and session file present
if type mb-tint2zen &>/dev/null;then if type mb-tint2-manager &>/dev/null;then
if [[ -f $TINTSESSION ]]; then if [[ -f $TINTSESSION ]]; then
TZEN=1 # set flag for Restore choice TZEN=1 # set flag for Restore choice
fi fi
@ -1045,7 +1045,7 @@ function restoreSettings(){
esac esac
done < "$SETCFG" done < "$SETCFG"
openbox --reconfigure openbox --reconfigure
mb-regenerate-menu #mb-regenerate-menu
restoreSettings restoreSettings
} }