all repos — tint2 @ ca3588cab04e6dfa93b86eac18c6abc4614a0e17

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Improve network bandwidth executor example too (stdbuf -oL)

If memusage example got stdbuf -oL awk, why further examples
can't use same?
Nikita Zlobin nick87720z@gmail.com
commit

ca3588cab04e6dfa93b86eac18c6abc4614a0e17

parent

795302fbafc800ec21eb96143f03ba62e0e6b304

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M doc/tint2.1doc/tint2.1

@@ -843,7 +843,7 @@ .PP

.RS .nf execp = new -execp_command = stdbuf \-oL bwm\-ng \-o csv \-t 1000 | awk \-F ';' '/total/ { printf "Net: %.0f Mb/s\\n", ($5*8/1.0e6) }; fflush(stdout)' +execp_command = stdbuf \-oL bwm\-ng \-o csv \-t 1000 | stdbuf -oL awk \-F ';' '/total/ { printf "Net: %.0f Mb/s\\n", ($5*8/1.0e6) }' execp_continuous = 1 execp_interval = 1 .fi
M doc/tint2.htmldoc/tint2.html

@@ -379,7 +379,7 @@ execp_interval = 1

execp_continuous = 1 </code></pre> <h5 id="network-load">Network load<a name="network-load" href="#network-load" class="md2man-permalink" title="permalink"></a></h5><pre class="highlight plaintext"><code>execp = new -execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)' +execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | stdbuf -oL awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }' execp_continuous = 1 execp_interval = 1 </code></pre>
M doc/tint2.mddoc/tint2.md

@@ -705,7 +705,7 @@ ##### Network load

``` execp = new -execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }; fflush(stdout)' +execp_command = stdbuf -oL bwm-ng -o csv -t 1000 | stdbuf -oL awk -F ';' '/total/ { printf "Net: %.0f Mb/s\n", ($5*8/1.0e6) }' execp_continuous = 1 execp_interval = 1 ```