aboutsummaryrefslogtreecommitdiff
path: root/Scripts/.local/scripts/status/music
diff options
context:
space:
mode:
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}"