feature: style update, waybar update, funny fastfetch update and other fixes

This commit is contained in:
2026-06-19 13:57:23 +03:00
parent 9d23965acc
commit 50d5c4fbd9
222 changed files with 8109 additions and 1219 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
artist_offset=25
title_offset=40
artist=$(playerctl metadata artist)
title=$(playerctl metadata title)
if [ ${#title} != 0 ]; then
if [ ${#artist} -gt $artist_offset ]; then
artist=$(echo $artist | cut -c1-$artist_offset)
artist=$(echo $artist'...')
fi
if [ ${#title} -gt $title_offset ]; then
title=$(echo $title | cut -c1-$title_offset)
title=$(echo $title'...')
fi
echo $artist - $title
fi