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:
30b9a4e
)
Remove dead code
author
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 1 Aug 2018 05:53:54 +0000
(
01:53
-0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Wed, 1 Aug 2018 05:53:54 +0000
(
01:53
-0400)
bin/khatus_sensor_mpd_state
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_sensor_mpd_state
b/bin/khatus_sensor_mpd_state
index
b5c9b08
..
b99ab73
100755
(executable)
--- a/
bin/khatus_sensor_mpd_state
+++ b/
bin/khatus_sensor_mpd_state
@@
-33,18
+33,6
@@
echo 'status' \
}
END {
- state = status["state:"]
-
- if (state == "play") {
- symbol = "▶"
- } else if (state == "pause") {
- symbol = "❚❚"
- } else if (state == "stop") {
- symbol = "⬛"
- } else {
- symbol = "--"
- }
-
printf(\
"%s %s %s\n",
status["state:"], current_time, current_percentage\
This page took
0.025268 seconds
and
4
git commands to generate.