aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/status/music
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-06 19:02:25 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-06 19:02:25 +0100
commit325d8b4ef7a02459172d6b6a423e36d7b3cadb88 (patch)
tree8543383279142b59510e3f0e5a7920cb58bbb2bf /Scripts/.local/scripts/status/music
parent9fa164dc1148c3bab801d636f24873efe673fc3a (diff)
downloaddotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.tar.gz
dotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.tar.bz2
dotfiles-325d8b4ef7a02459172d6b6a423e36d7b3cadb88.zip
(General)~loads of commits, getting ready to port dotfiles to another machine
Diffstat (limited to 'Scripts/.local/scripts/status/music')
-rwxr-xr-xScripts/.local/scripts/status/music3
1 files changed, 2 insertions, 1 deletions
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}"