All I want to do is create a shell script that runs in the background. It turns on when I log in/on boot up.
Every hour it checks the time for 9:00 pm, (if you can figure out sun sets and rises that would be great), if it is past it switches the background.
Then it changes the back if it is past 9:00 pm. But past 7:00 am it would turn that background off.
Basically just switching between 2 backgrounds. How can I do this?
/home/jpesquibel/Pictures/change_wallpaper: line 11: warning: command substitution: ignored null byte in input /home/jpesquibel/Pictures/change_wallpaper: line 14: [: 'file:///home/jpesquibel/Pictures/rd_statues.png': unary operator expected
– Prolight Apr 25 '19 at 02:39!= "$FILE"]
needs to be!= "$FILE" ]
- the whitespace around[
and]
is required – steeldriver Apr 25 '19 at 02:44