From: Reginald Kennedy Date: Tue, 25 Sep 2012 13:39:15 +0000 (+0800) Subject: Only read external script output when available in the main loop. X-Git-Url: https://jasonwoof.com/gitweb/?a=commitdiff_plain;h=3855da68fef832dcd4b5eb9275bdb2b5d2f2b01a;hp=3855da68fef832dcd4b5eb9275bdb2b5d2f2b01a;p=spectrwm.git Only read external script output when available in the main loop. Rename bar_fmt_print to bar_draw. Change all bar_update calls to bar_draw, except in main. Rename bar_update to bar_extra_update. To clarify, bar_extra_update reads the external bar script output and redraws the bar if needed; bar_draw only redraws the bar with the current external bar script output. ---