#!/usr/bin/env bash title=$(playerctl --player=spotify metadata title) echo "${title::40}"