mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-22 21:22:52 +00:00
Sometimes I can be so dumb
This commit is contained in:
parent
74919c4d9c
commit
c902c352f3
1 changed files with 1 additions and 1 deletions
2
bar.sh
2
bar.sh
|
@ -55,7 +55,7 @@ run_module()
|
|||
run()
|
||||
{
|
||||
for module in $MODULES; do
|
||||
[[ ! -f "$OUTPUT_CACHE$module" ]] && echo "$OUTPUT_CACHE$module"
|
||||
[[ ! -f "$OUTPUT_CACHE$module" ]] && touch "$OUTPUT_CACHE$module"
|
||||
pgrep $module &> /dev/null
|
||||
notrunning=$([[ $? -eq 1 ]])
|
||||
if $notrunning && [[ $INTERNET -eq 0 ]]; then
|
||||
|
|
Loading…
Reference in a new issue