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

giving some props to the creators

This commit is contained in:
TiynGER
2020-04-02 00:06:34 +02:00
parent 05840fcb8f
commit 793e3653bd
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 }')