aboutsummaryrefslogtreecommitdiff
path: root/i3/who.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i3/who.sh')
-rwxr-xr-xi3/who.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/i3/who.sh b/i3/who.sh
new file mode 100755
index 0000000..f91abb3
--- /dev/null
+++ b/i3/who.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+title=$(cmus-remote -Q | grep title | cut -c11-)
+
+artist=$(cmus-remote -Q | grep artist | cut -c12-)
+
+echo "$artist - $title"