dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 9e362d72c04fc0b30b0528058e93fb38b9020cce
parent c836ddf332532ec0f4c78c8fdca9710c6037ab04
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Thu, 13 Apr 2023 21:05:58 -0400

Fix battery charging display

Diffstat:
M.local/bin/bar-action | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.local/bin/bar-action b/.local/bin/bar-action @@ -18,7 +18,9 @@ while :; do baticon="" fi if [ "$(apm -b)" = "3" ]; then - bat="$bat+" + bat="$bat%+" + else + bat="$bat%" fi if [ "$(ifconfig iwm0 | grep status | awk '{print $2}')" = "active" ]; then net="直" @@ -30,5 +32,5 @@ while :; do else snd="" fi - echo "+@fn=1;+@fn=0; $cpu | +@fn=1;+@fn=0; $mem | +@fn=1;+@fn=0; $dsk | +@fn=1;$baticon+@fn=0; $bat% | +@fn=1;$net+@fn=0; | +@fn=1;$snd+@fn=0;" + echo "+@fn=1;+@fn=0; $cpu | +@fn=1;+@fn=0; $mem | +@fn=1;+@fn=0; $dsk | +@fn=1;$baticon+@fn=0; $bat | +@fn=1;$net+@fn=0; | +@fn=1;$snd+@fn=0;" done