From 77dc04037a88f7bd6f801ada5f5cf78c50aa1cad Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Wed, 1 Aug 2018 01:53:54 -0400 Subject: [PATCH] Remove dead code --- bin/khatus_sensor_mpd_state | 12 ------------ 1 file changed, 12 deletions(-) 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\ -- 2.20.1