mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-09 22:19:45 +00:00
Creates cache files straight away
This commit is contained in:
parent
bca3611d2b
commit
74919c4d9c
1 changed files with 1 additions and 0 deletions
1
bar.sh
1
bar.sh
|
@ -55,6 +55,7 @@ run_module()
|
||||||
run()
|
run()
|
||||||
{
|
{
|
||||||
for module in $MODULES; do
|
for module in $MODULES; do
|
||||||
|
[[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module"
|
||||||
pgrep $module &> /dev/null
|
pgrep $module &> /dev/null
|
||||||
notrunning=$([[ $? -eq 1 ]])
|
notrunning=$([[ $? -eq 1 ]])
|
||||||
if $notrunning && [[ $INTERNET -eq 0 ]]; then
|
if $notrunning && [[ $INTERNET -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in a new issue