Add Playerctl Modules

This commit is contained in:
Sravan Balaji
2024-09-29 23:39:58 -04:00
parent 7f7b4bc534
commit 0220b902bb
7 changed files with 299 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
mediaStatus=$(`dirname $0`/get-media-status.sh)
if [[ "$mediaStatus" == "N/A" ]]; then
echo "󰐎"
else
if [[ "$mediaStatus" == "Playing" ]]; then
echo "󰏤"
elif [[ "$mediaStatus" == "Paused" ]]; then
echo "󰐊"
fi
fi