Ajatt-Tools / mpvacious

🍜 Adds mpv keybindings to create Anki cards from movies and TV shows.
https://tatsumoto-ren.github.io/blog/mining-from-movies-and-tv-shows.html
GNU General Public License v3.0
602 stars 51 forks source link

Fix pattern matching for 'wl-clipboard' in is_wl_copy_installed function #124

Closed Daja177 closed 7 months ago

Daja177 commented 7 months ago

The is_wl_copy_installed function fails to correctly match the "wl-clipboard' string due to a pattern matching error as a result of the hyphen character. This fix involves properly escaping the hyphen character in the pattern to ensure accurate matching and correctly detect wl-copy.

tatsumoto-ren commented 7 months ago

I see. Thanks.