瀏覽代碼

Only show mpd status in music status line

Frans Bergman 3 年之前
父節點
當前提交
902348bb08
共有 1 個文件被更改,包括 1 次插入5 次删除
  1. 1 5
      .scripts/status/10-music.sh

+ 1 - 5
.scripts/status/10-music.sh

@@ -1,6 +1,2 @@
 #!/bin/sh
-if playerctl metadata; then
-    echo "$(playerctl metadata artist) - $(playerctl metadata title)"
-else
-    mpc current
-fi
+mpc current