Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b86a4183f9 |
1 changed files with 1 additions and 0 deletions
1
scripts/adpon.sh
Executable file
1
scripts/adpon.sh
Executable file
|
|
@ -0,0 +1 @@
|
||||||
|
[ "$(cat /sys/class/power_supply/ADP*/online 2>/dev/null)" = "1" ] && echo "ADP Online" || echo "ADP Offline; using battery"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue