mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-09-18 18:43:06 +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()
|
||||
{
|
||||
for module in $MODULES; do
|
||||
[[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module"
|
||||
pgrep $module &> /dev/null
|
||||
notrunning=$([[ $? -eq 1 ]])
|
||||
if $notrunning && [[ $INTERNET -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in a new issue