Last active
December 13, 2018 01:01
-
-
Save cirrusUK/313258988332f35d854bfda6094bbf1b to your computer and use it in GitHub Desktop.
MPV now playing shell script [requires ponymix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export DISPLAY=":0.0" | |
MPVNP=$(ponymix list | awk 'NR==16' | cut -c14- |sed 's/.\{6\}$//' ) | |
notify-send -h string:bgcolor:#191919 -h string:fgcolor:#f2810d -i ~/.icons/mpv.png "📺 MPV Now Playing " "$MPVNP" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export DISPLAY=":0.0" | |
MPVNP=$(ponymix list | awk 'NR==16' | cut -c14- |sed 's/.\{6\}$//' ) | |
echo "📺 MPV Now Playing" " $MPVNP" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment