lwilletts / mpvc

An mpc-like control interface for mpv.
MIT License
139 stars 18 forks source link

rename environment varialbe SOCKET #41

Closed bricewge closed 5 years ago

bricewge commented 5 years ago

The external envrionemnt varialbe SOCKET is renamed to MPVC_SOCKET. It allow to configure mpvc system wide and avoiding any conflict with similar named environment variable.

In my case I use $XDG_RUNTIME_DIR/mpv.socket as my socket and want to use mpvctl from sxhkd so I was forced to specify the socket each time I wanted to add a new shortcut. Now I can set ~/.profile and forget about the socket location.

lwilletts commented 5 years ago

Great call, good idea. Many thanks.

bricewge commented 5 years ago

Many thanks to you for your work on this. I looked at many other similar projects before settling on yours nd this is by far the best!