Created
October 3, 2023 22:45
-
-
Save Rudxain/33fc1d94e2eb1f06d3480b568ae20403 to your computer and use it in GitHub Desktop.
Termux polyfills that I rarely use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -f | |
[ -n "$(dumpsys deviceidle | grep mScreenOn=false)" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -f | |
[ -n "$(dumpsys deviceidle | grep mScreenOn=true)" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment