diff options
author | Camil Staps | 2017-02-20 10:06:38 +0100 |
---|---|---|
committer | Camil Staps | 2017-02-20 10:06:38 +0100 |
commit | 73ae3a47a410eb2db9c3c776c0252e1feaeb2d7e (patch) | |
tree | 4835551f5d769ede433ed390d3cfc2406975480c /i3/bin/nowplaying | |
parent | Cloogle stats in status bar (diff) |
Reorganise binaries
Diffstat (limited to 'i3/bin/nowplaying')
-rwxr-xr-x | i3/bin/nowplaying | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/i3/bin/nowplaying b/i3/bin/nowplaying new file mode 100755 index 0000000..650e6e8 --- /dev/null +++ b/i3/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 ' ' |