From 325d8b4ef7a02459172d6b6a423e36d7b3cadb88 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 6 Jul 2021 19:02:25 +0100 Subject: (General)~loads of commits, getting ready to port dotfiles to another machine --- Scripts/.local/scripts/status/music | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Scripts/.local/scripts/status/music') diff --git a/Scripts/.local/scripts/status/music b/Scripts/.local/scripts/status/music index b7233d9..a1e734e 100755 --- a/Scripts/.local/scripts/status/music +++ b/Scripts/.local/scripts/status/music @@ -1,3 +1,4 @@ #!/usr/bin/env bash -echo  "$(playerctl --player=spotify metadata title)" +title=$(playerctl --player=spotify metadata title) +echo "${title::40}" -- cgit v1.2.3-13-gbd6f