fix(clipboard): fix wrong xclip call. #885
This commit is contained in:
parent
50904c2d2b
commit
74c5e5ae86
|
@ -30,7 +30,7 @@ pub struct XClipClipboard {
|
||||||
|
|
||||||
impl XClipClipboard {
|
impl XClipClipboard {
|
||||||
pub fn new() -> Self {
|
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
|
let is_xclip_available = command
|
||||||
.map(|output| output.status.success())
|
.map(|output| output.status.success())
|
||||||
.unwrap_or(false);
|
.unwrap_or(false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user