summary refs log tree commit diff
path: root/.config/waybar/modules/mpris.awk
diff options
context:
space:
mode:
Diffstat (limited to '.config/waybar/modules/mpris.awk')
-rw-r--r--.config/waybar/modules/mpris.awk7
1 files changed, 2 insertions, 5 deletions
diff --git a/.config/waybar/modules/mpris.awk b/.config/waybar/modules/mpris.awk
index af3a271..194aa73 100644
--- a/.config/waybar/modules/mpris.awk
+++ b/.config/waybar/modules/mpris.awk
@@ -1,7 +1,3 @@
-BEGIN {
-  # system("jq -Mnc {}");
-}
-
 {
   gsub(/"/,"")
   gsub(/'/,"\047")
@@ -17,8 +13,9 @@ BEGIN {
 
 ($0 == "") || (status ~ /stopped/) {
   system("jq -Mnc {}")
-  exit
+  next
 }
+
 (status ~ /playing/) {
   icon="󰲸"
 }