home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b22166
)
Fix missing newlines in producer messages
author
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 29 Jul 2018 23:56:55 +0000
(19:56 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Sun, 29 Jul 2018 23:56:55 +0000
(19:56 -0400)
bin/khatus_loop
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_loop
b/bin/khatus_loop
index
d7d4eb1
..
f05e1ec
100755
(executable)
--- a/
bin/khatus_loop
+++ b/
bin/khatus_loop
@@
-93,7
+93,7
@@
produce_bluetooth_power() {
} else {
power_status = "off" # TODO: Perhaps use differentiated marker?
}
- printf("%s", power_status);
+ printf("%s
\n
", power_status);
}'
}
@@
-120,9
+120,9
@@
produce_volume() {
/^[ \t]*front-right:/ {right = $4}
END {
if (mute == "yes") {
- print
f
("x")
+ print("x")
} else {
- print
f("%s %s
", left, right)
+ print
("%s %s\n
", left, right)
}
}
'
@@
-173,7
+173,7
@@
produce_mpd_state() {
}
printf(\
- "%s %s %s",
+ "%s %s %s
\n
",
status["state:"], current_time, current_percentage\
)
}
This page took
0.026128 seconds
and
4
git commands to generate.