🐛 Fixed incorrect logical operator

This commit is contained in:
TheColorman 2023-06-21 16:32:03 +02:00
parent aebc0ece7a
commit 73c0872e4f
No known key found for this signature in database
GPG key ID: A9C799E05AC900AF

View file

@ -540,7 +540,7 @@ function main_menu:upload_catbox()
"whereis", "wl-copy"
}).stdout, "/")
if cb_x11 == nil and cb_wayland == nil then
if cb_x11 == nil or cb_wayland == nil then
notify("Failed to copy URL to clipboard, trying to open in browser instead.\n(Make sure xclip or wl-clipboard is installed)", "warn", 6)
mp.commandv('run', open_utility, r.stdout)
return