forked from axiom-team/astrXbian
/home/$YOU/.zen/A_Station_ON
This commit is contained in:
parent
704febd7d3
commit
6499e31241
@ -76,10 +76,10 @@ dayofthemonth=$(date +%d)
|
|||||||
weeknumber=$(date +%V)
|
weeknumber=$(date +%V)
|
||||||
|
|
||||||
# WAKEUP TIME
|
# WAKEUP TIME
|
||||||
if [[ ! -f /tmp/A_Station_ON ]]; then
|
if [[ ! -f /home/$YOU/.zen/A_Station_ON ]]; then
|
||||||
echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /tmp/A_Station_ON
|
echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /home/$YOU/.zen/A_Station_ON
|
||||||
else
|
else
|
||||||
source /tmp/A_Station_ON
|
source /home/$YOU/.zen/A_Station_ON
|
||||||
old=$ontimebar
|
old=$ontimebar
|
||||||
new=$timebar
|
new=$timebar
|
||||||
# feeding variables by using read and splitting with IFS
|
# feeding variables by using read and splitting with IFS
|
||||||
|
Loading…
Reference in New Issue
Block a user