aboutsummaryrefslogtreecommitdiff
path: root/i3/who.sh
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.ovh>2016-09-17 21:01:38 +0200
committerNeodarZ <neodarz@neodarz.ovh>2016-09-17 21:01:38 +0200
commitd16075fbc32b9d8dde5b0638efc9cd9d241acdab (patch)
tree46840733f1351ce5923acad4ce78215abda68574 /i3/who.sh
downloaddotfiles-d16075fbc32b9d8dde5b0638efc9cd9d241acdab.tar.xz
dotfiles-d16075fbc32b9d8dde5b0638efc9cd9d241acdab.zip
Add i3 conf
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"