aboutsummaryrefslogtreecommitdiff
path: root/i3/who.sh
diff options
context:
space:
mode:
authorNeodarZ <neodarz@neodarz.ovh>2016-09-18 02:15:35 +0200
committerNeodarZ <neodarz@neodarz.ovh>2016-09-18 02:15:35 +0200
commit051235f0be45b859dc1ca0c90c171123f5efb45d (patch)
tree0ef23eb3acb4355de993f9edde9920c9ddd523c7 /i3/who.sh
parent9b6d154afb2b32f81dae99cc45392b4cace2a29d (diff)
downloaddotfiles-051235f0be45b859dc1ca0c90c171123f5efb45d.tar.xz
dotfiles-051235f0be45b859dc1ca0c90c171123f5efb45d.zip
Add new i3
Diffstat (limited to '')
-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"