refractor plus additional click and long string functions

This commit is contained in:
koksnuss
2018-05-31 00:29:13 +02:00
parent 4b9d064b32
commit 492abcf744
6 changed files with 52 additions and 24 deletions

View File

@@ -22,6 +22,7 @@ cat "$DIR/brightness" "$DIR/max_brightness" | gawk -v MODE="$MODE" -v LONG="$LON
load = ( cbr / mbr ) * 100
if (LONG == "true") {
printf("%d%\n", load)
printf("%d%\n", load)
} else {
if (load < 100 / 9) {
printf("▁\n▁\n")