mirror of https://github.com/helix-editor/helix
parent
ee80fa8ea9
commit
994ff4b269
|
@ -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") {
|
} else if env_var_is_set("WAYLAND_DISPLAY") && exists("wl-copy") && exists("wl-paste") {
|
||||||
command_provider! {
|
command_provider! {
|
||||||
paste => "wl-paste", "--no-newline";
|
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") {
|
} else if env_var_is_set("DISPLAY") && exists("xclip") {
|
||||||
command_provider! {
|
command_provider! {
|
||||||
|
|
Loading…
Reference in New Issue