dwm-flexipatch/polybar/scripts/get-media-status-icon.sh
Sravan Balaji 31c5ea9f26 Dunst Clear Notifications Module
- Add module to clear open notifications
- Change `/home/sravan` to `~/` in polybar
2024-05-03 19:31:04 -04:00

13 lines
302 B
Bash
Executable File

#!/usr/bin/env bash
mediaStatus=$(~/.config/dwm-flexipatch/polybar/scripts/get-media-status.sh)
if [[ "$mediaStatus" == "N/A" ]]; then
echo "󰐎"
else
if [[ "$mediaStatus" == "Playing" ]]; then
echo "󰏤"
elif [[ "$mediaStatus" == "Paused" ]]; then
echo "󰐊"
fi
fi