diff options
| author | Andrew Guschin <guschin@altlinux.org> | 2023-07-28 01:29:51 +0400 |
|---|---|---|
| committer | Andrew Guschin <guschin@altlinux.org> | 2023-07-28 01:29:51 +0400 |
| commit | 5ec338174c5ef3225d6b7009b8ac55772f76008e (patch) | |
| tree | cecece430097d887a4d32ff303b9269ddc75a07f /.local/bin/dwmbar/dwm-battery | |
| parent | 71713fc3c3b15891606e553befd2e9a0a7221861 (diff) | |
Changed dwm bar scripts
Diffstat (limited to '.local/bin/dwmbar/dwm-battery')
| -rwxr-xr-x | .local/bin/dwmbar/dwm-battery | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/dwmbar/dwm-battery b/.local/bin/dwmbar/dwm-battery index 11ad5c3..249cc33 100755 --- a/.local/bin/dwmbar/dwm-battery +++ b/.local/bin/dwmbar/dwm-battery @@ -4,5 +4,5 @@ for battery in /sys/class/power_supply/BAT? do capacity=$(cat "$battery"/capacity) || break - printf "%s%%" "$capacity" + printf "[BAT %s%%]" "$capacity" done | sed 's/ *$//' |