fix(clipboard): fix wrong xclip call. #885

This commit is contained in:
Federico Terzi 2021-12-04 10:42:53 +01:00
parent 50904c2d2b
commit 74c5e5ae86

View File

@ -30,7 +30,7 @@ pub struct XClipClipboard {
impl XClipClipboard {
pub fn new() -> Self {
let command = Command::new("xclipz").arg("-h").output();
let command = Command::new("xclip").arg("-h").output();
let is_xclip_available = command
.map(|output| output.status.success())
.unwrap_or(false);