diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2025-12-18 14:49:54 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2025-12-18 14:49:54 +0530 |
| commit | 29e3e7939b91c587a40e1c13babe1d8b15db180c (patch) | |
| tree | b07ec7f46c196edeb57d23ec461ec1f062e225f1 /quickshell/scripts | |
| parent | edaf04f79d33ba96ef7ac548fbad766e0546a200 (diff) | |
forgot about AC/DC(), .bin for personal stuff
Diffstat (limited to 'quickshell/scripts')
| -rwxr-xr-x | quickshell/scripts/battery.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quickshell/scripts/battery.sh b/quickshell/scripts/battery.sh index c7d4302..77f800a 100755 --- a/quickshell/scripts/battery.sh +++ b/quickshell/scripts/battery.sh @@ -1,2 +1,3 @@ battery=$(cat /sys/class/power_supply/BAT1/capacity) -echo "$battery" +charging=$(cat /sys/class/power_supply/ACAD/online) +echo "$battery $charging" |
