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.
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.