mirror of
https://github.com/G2-Games/welcome.sh.git
synced 2025-04-19 05:22:53 -05:00
Fixed file paths
This commit is contained in:
parent
aee6ee9e67
commit
5acea7fd34
1 changed files with 5 additions and 5 deletions
10
welcome.sh
10
welcome.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue