This commit is contained in:
Gecko :3 2025-07-10 11:07:38 +02:00
commit 60c11831de
23 changed files with 989 additions and 0 deletions

5
i3/get_power_usage.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
power_now=$(cat /sys/class/power_supply/BAT0/power_now)
watts=$(printf "%.1f" "$(echo "$power_now / 1000000" | bc -l)")
echo "$wattsW"