mpvwrap: Change title to make window easily identifiable
Makes it easier to turn down the volume in pavucontrol, for example.
This commit is contained in:
parent
fac5f784be
commit
c7ebaa3090
@ -35,7 +35,7 @@ cachecontent="$(cat $cachefile)"
|
|||||||
function video-play {
|
function video-play {
|
||||||
notify-send -u low -t 10 -a 'MPV' "Embedded Video" "Playing $1 as a stream embedded in the desktop"
|
notify-send -u low -t 10 -a 'MPV' "Embedded Video" "Playing $1 as a stream embedded in the desktop"
|
||||||
pkill -x mpv
|
pkill -x mpv
|
||||||
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --loop-playlist=inf $1
|
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="Desktop Video" --loop-playlist=inf $1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user