diff options
author | David Robillard <d@drobilla.net> | 2017-04-07 07:21:02 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-04-07 07:21:02 +0200 |
commit | e377720babb55531ad0419602931d12d4138fa92 (patch) | |
tree | 2dd1440460185024e4ab39e055196cfca4bc251c /bspwm/panel | |
parent | 678787151a3e770c736670e96ae8c3cf4efce362 (diff) | |
download | dotfiles-e377720babb55531ad0419602931d12d4138fa92.tar.gz dotfiles-e377720babb55531ad0419602931d12d4138fa92.tar.bz2 dotfiles-e377720babb55531ad0419602931d12d4138fa92.zip |
Define palette as customizable variables
Diffstat (limited to 'bspwm/panel')
-rwxr-xr-x | bspwm/panel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bspwm/panel b/bspwm/panel index 4b22b0f..ca1ae02 100755 --- a/bspwm/panel +++ b/bspwm/panel @@ -42,7 +42,7 @@ bspc control --subscribe > "$PANEL_FIFO" & xtitle -sf 'T%s' > "$PANEL_FIFO" & clock -sf 'S%a %Y-%m-%d %H:%M' > "$PANEL_FIFO" & LC_TIME=en_DK.UTF-8 mpstat 1 | stdbuf -oL tail -n +4 | stdbuf -oL awk '$12 ~ /[0-9.]+/ { printf "L%3d\n", 100 - $12 }' > "$PANEL_FIFO" & -free -m -s 1 | stdbuf -oL awk '/^Mem:.*/ { printf "M%02d%%\n", ($3 - $6 - $7) / $2 * 100 }' > "$PANEL_FIFO" & +free -m -s 1 | stdbuf -oL awk '/^Mem:.*/ { printf "M%02d%%\n", $3 / $2 * 100 }' > "$PANEL_FIFO" & iostat -y -d 1 | stdbuf -oL awk '/Device.*/ { printf("\nI"); next } /^[0-9a-z]* / { printf " %s %04.0f↓ %04.0f↑", $1, $3, $4 } END { printf "\n" }' > "$PANEL_FIFO" & # Battery |