1
0
Fork 0
Commit graph

3 commits

Author SHA1 Message Date
298885434b Fix errors in ‘oni-termux’
For some reason it appears that ‘alert-termux’ is added to the
‘load-path’ after ‘oni-termux’, so that when ‘oni-termux’ calls
‘require’ for ‘alert-termux’ it hasn’t been added to the ‘load-path’
yet and fails.

When requiring the ‘battery’ library it seems to immediately try to
read some information. Since Termux isn’t actually a linux
distribution if fails with a "Permission Denied" error when trying to
read ‘/sys/class/power_supply’. To prevent this from happening the
‘battery-status-function’ needs to be set before loading ‘battery’.
2019-10-06 11:35:00 -07:00
06d7640368 Add alert settings for Termux 2019-09-20 23:18:00 -07:00
ea04d5ff46 Add oni-termux 2019-09-20 23:18:00 -07:00