home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blank-out only the remaining slots
[khatus.git]
/
x1
/
bin
/
khatus_show
diff --git
a/x1/bin/khatus_show
b/x1/bin/khatus_show
index
5170492
..
07c5f07
100755
(executable)
--- a/
x1/bin/khatus_show
+++ b/
x1/bin/khatus_show
@@
-441,7
+441,7
@@
weather=$(
#)
mpd_currentsong=$(
#)
mpd_currentsong=$(
- echo 'currentsong' \
+ echo 'currentsong
\nclose
' \
| nc 127.0.0.1 6600 \
| awk -v max_chars=10 '
/^OK/ {
| nc 127.0.0.1 6600 \
| awk -v max_chars=10 '
/^OK/ {
@@
-477,7
+477,7
@@
mpd_currentsong=$(
)
mpd_state=$(
)
mpd_state=$(
- echo 'status' \
+ echo 'status
\nclose
' \
| nc 127.0.0.1 6600 \
| awk \
-v current_song="$mpd_currentsong" \
| nc 127.0.0.1 6600 \
| awk \
-v current_song="$mpd_currentsong" \
This page took
0.036616 seconds
and
4
git commands to generate.