From a11ea3b0f8c65799e0adba34a6eaaef22267446b Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 3 Apr 2016 14:34:04 +0200 Subject: Using xmobar instead of i3bar/i3status --- bin/nowplaying | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 bin/nowplaying (limited to 'bin/nowplaying') diff --git a/bin/nowplaying b/bin/nowplaying new file mode 100755 index 0000000..650e6e8 --- /dev/null +++ b/bin/nowplaying @@ -0,0 +1,2 @@ +#!/bin/sh +cmus-remote -Q | grep '^tag \(artist\|album\|title\) ' | cut -d' ' -f 3- | tr '\n' '\t' | awk 'BEGIN { FS = "\t" } ; { print $3 " (" $2 ", " $1 ")" }'; echo -n ' ' -- cgit v1.2.3