aboutsummaryrefslogtreecommitdiff
path: root/quickshell/scripts
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-12-18 14:49:54 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-12-18 14:49:54 +0530
commit29e3e7939b91c587a40e1c13babe1d8b15db180c (patch)
treeb07ec7f46c196edeb57d23ec461ec1f062e225f1 /quickshell/scripts
parentedaf04f79d33ba96ef7ac548fbad766e0546a200 (diff)
forgot about AC/DC(), .bin for personal stuff
Diffstat (limited to 'quickshell/scripts')
-rwxr-xr-xquickshell/scripts/battery.sh3
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"