Don't run wl-copy with --foreground

It stalls the hx process
pull/333/head
Blaž Hrastnik 3 years ago committed by GitHub
parent ee80fa8ea9
commit 994ff4b269
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
} else if env_var_is_set("WAYLAND_DISPLAY") && exists("wl-copy") && exists("wl-paste") {
command_provider! {
paste => "wl-paste", "--no-newline";
copy => "wl-copy", "--foreground", "--type", "text/plain";
copy => "wl-copy", "--type", "text/plain";
}
} else if env_var_is_set("DISPLAY") && exists("xclip") {
command_provider! {

Loading…
Cancel
Save