1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

giving some props to the creators

This commit is contained in:
TiynGER
2020-04-02 00:06:34 +02:00
parent 5b15670a44
commit 13f56aab85
33 changed files with 56 additions and 121 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env sh
# Give a battery name (e.g. BAT0) as an argument.
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
capacity=$(cat /sys/class/power_supply/"$1"/capacity) || exit
time=$(acpi | awk '{ print $5 }')