aboutsummaryrefslogtreecommitdiff
path: root/quickshell/scripts/battery.sh
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2025-12-08 16:58:52 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2025-12-08 16:58:52 +0530
commitaf844bbc44741a971614175248cc29505d1acbd1 (patch)
treed75c8dc30e7f0f0596b5f087ad3697678a042e3e /quickshell/scripts/battery.sh
parent15bed9293ad7fb0b54cef68cdbf1a0549ec7aa97 (diff)
replaced wofi with custom app menu + right side apps bar + organization of qml files
Diffstat (limited to 'quickshell/scripts/battery.sh')
-rwxr-xr-xquickshell/scripts/battery.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/quickshell/scripts/battery.sh b/quickshell/scripts/battery.sh
new file mode 100755
index 0000000..c7d4302
--- /dev/null
+++ b/quickshell/scripts/battery.sh
@@ -0,0 +1,2 @@
+battery=$(cat /sys/class/power_supply/BAT1/capacity)
+echo "$battery"