From 6c4fc5e429f362c0c5544d34f17285c4cfc16ba8 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Mon, 24 Aug 2026 01:47:36 -0400 Subject: remove old filesand bump nix-files --- home-config/waybar/modules/spotify.sh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 home-config/waybar/modules/spotify.sh (limited to 'home-config/waybar/modules/spotify.sh') diff --git a/home-config/waybar/modules/spotify.sh b/home-config/waybar/modules/spotify.sh deleted file mode 100755 index fc732a1..0000000 --- a/home-config/waybar/modules/spotify.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -class=$(playerctl metadata --format '{{lc(status)}}') -icon="󰎆" - -if [[ $class == "playing" ]]; then - info=$(playerctl metadata --format '{{artist}} - {{title}}') - if [[ ${#info} > 40 ]]; then - info=$(playerctl metadata --format '{{title}}' | cut -c1-40)"..." - fi - text=$info" "$icon -elif [[ $class == "paused" ]]; then - text=$icon -elif [[ $class == "stopped" ]]; then - text="" -fi - -echo -e "{\"text\":\""$text"\", \"class\":\""$class"\"}" - -- cgit v1.3.1