Fixed file paths

This commit is contained in:
g2 2022-09-30 10:10:06 -05:00
parent aee6ee9e67
commit 5acea7fd34

View file

@ -144,11 +144,11 @@ updates () {
fi fi
# Add all update counts together # Add all update counts together
updates=$(($debian + $arch + $fedora + $flatpak + $brew)) updates=$(($debian + $arch + $fedora + $flatpak + $brew))
echo $updates >| updates echo $updates >| ~/.welcome/updates
pkill -P $pid sleep pkill -P $pid sleep
sleep 5 sleep 5
if [ -a updates ]; then if [ -a ~/.welcome/updates ]; then
rm updates rm ~/.welcome/updates
fi fi
return 1 return 1
} }
@ -165,7 +165,7 @@ updates () {
if [ -a updates ]; then if [ -a updates ]; then
updates=$(cat updates) updates=$(cat updates)
rm updates rm ~/.welcome/updates
fi fi
# Check the update amounts and print them out # Check the update amounts and print them out
@ -234,7 +234,7 @@ updatecheck="on" #< Check for general updates
flatpakupd="off" #< Check for flatpak updates, this slows startup down A LOT flatpakupd="off" #< Check for flatpak updates, this slows startup down A LOT
goodgreeting="on" #< Display greetings like "Good afternoon," else "It's afternoon" goodgreeting="on" #< Display greetings like "Good afternoon," else "It's afternoon"
source config.cfg source ~/.welcome/config.cfg
welcome welcome
greeting greeting