aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-02-01 23:46:42 -0700
committerkatherine <shmibs@shmibbles.me>2016-02-01 23:46:42 -0700
commit0fec7a8a563034c145624fb8c82dc6ce135d59a0 (patch)
treec8f37b9f45bd4515fd4ff12a52ec3223fe1a1742
parent97becb02d2aa821d14077c3f0064000318a4ae71 (diff)
downloaddotfiles-0fec7a8a563034c145624fb8c82dc6ce135d59a0.tar.gz
was a buffering issue
s'nice to know this sort of thing
-rwxr-xr-x.config/herbstluftwm/panel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index 66ecdde..6afe2cb 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -115,7 +115,7 @@ fields[6]=""
fields[7]="$(update_date)"
unique_line() {
- awk '$0 != l { print ; l=$0 ; fflush(); }'
+ stdbuf -i0 -o0 uniq
}
######################