cargo fmt

pull/45/head
Takashi Kokubun 2 years ago
parent b35b85010b
commit 57b9962ca7
No known key found for this signature in database
GPG Key ID: 6FFC433B12EE23DD

@ -1,7 +1,7 @@
use crate::client::Client;
use std::env;
use std::fs::read_dir;
use std::os::unix::ffi::OsStrExt;
use crate::client::Client;
use swayipc::Connection;
pub struct SwayClient {
@ -21,7 +21,7 @@ impl SwayClient {
None => {
println!("Failed to locate a SWAYSOCK from /run/user/1000/sway-ipc.*");
return;
},
}
};
println!("$SWAYSOCK is not set. Defaulting to \"{}\"", path);
env::set_var("SWAYSOCK", path);

Loading…
Cancel
Save