From: Siraaj Khandkar Date: Wed, 1 Aug 2018 05:53:54 +0000 (-0400) Subject: Remove dead code X-Git-Url: https://git.xandkar.net/?p=khatus.git;a=commitdiff_plain;h=77dc04037a88f7bd6f801ada5f5cf78c50aa1cad Remove dead code --- diff --git a/bin/khatus_sensor_mpd_state b/bin/khatus_sensor_mpd_state index b5c9b08..b99ab73 100755 --- 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\