Notification daemon #55

Merged
mars merged 13 commits from notifications into main 2022-12-07 22:18:19 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit ce187a0381 - Show all commits

View File

@ -196,9 +196,7 @@ fn main() {
.to_owned();
smol::block_on(async {
let sock_dir = std::env::var("XDG_RUNTIME_DIR").expect("XDG_RUNTIME_DIR not set");
let sock_dir = Path::new(&sock_dir);
let sock_path = sock_dir.join(MAGPIE_SOCK);
let sock_path = canary_magpie::protocol::find_socket();
let socket = UnixStream::connect(sock_path).await.unwrap();
let mut magpie = MagpieClient::new(socket);
let protocol = "tebibyte-media.desktop.music-player-controller".to_string();