Both conky and my scripts conky calls create temporary files that get left around
wherever it might run from. This ensures they all go someplace out of the way.
This commit is contained in:
parent
3527cdaa5a
commit
7f0caca15a
1 changed files with 12 additions and 0 deletions
12
run-conky.sh
12
run-conky.sh
|
|
@ -10,6 +10,18 @@
|
|||
# be found on Creative Commons' website at:
|
||||
# http://creativecommons.org/publicdomain/zero/1.0/legalcode).
|
||||
|
||||
RUNNING_DIR=$HOME/tmp/.conky-running-temp-files
|
||||
|
||||
cd $RUNNING_DIR
|
||||
if [ $? -ne 0 ]; then
|
||||
/bin/mkdir -p $RUNNING_DIR
|
||||
cd $RUNNING_DIR
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "$0: FAILED to create and/or enter $RUNNING_DIR: $! ... Giving up!"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
sleep 10
|
||||
/usr/bin/conky -d -c $HOME/Files/Public-Configuration/left.conkyrc
|
||||
sleep 3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue