- Replace clicks and scroll actions with dedicated buttons for media playing module - Add media-playing-change module to display current media source and left-click to change - Add media-playing-prev/next to play previous or next track - Add media-playing-play-pause to display pause button when media is playing and play button when media is paused - Update media-playing to use Zscroll to scroll through artist and title text when over limit - Add some extra helper scripts
15 lines
320 B
Bash
Executable File
15 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
mediaStatus=$(/home/sravan/.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
|
|
|
|
echo $status
|
|
fi
|