diff options
Diffstat (limited to 'sway')
-rwxr-xr-x | sway/status.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/status.sh b/sway/status.sh index f29dfc8..03dfcd1 100755 --- a/sway/status.sh +++ b/sway/status.sh @@ -1,7 +1,8 @@ #!/bin/sh +bat="BAT $(cat /sys/class/power_supply/BAT*/capacity | tr '\n' ' ')" time="$(date '+KW %W %a %Y-%m-%d %H:%M')" -echo "| ${time} |" +echo "| ${bat}| ${time} |" |