aboutsummaryrefslogtreecommitdiff
path: root/karlgui/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'karlgui/src/main.rs')
-rw-r--r--karlgui/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/karlgui/src/main.rs b/karlgui/src/main.rs
index e520306..6044496 100644
--- a/karlgui/src/main.rs
+++ b/karlgui/src/main.rs
@@ -6,7 +6,7 @@ pub mod views;
use crate::{client::Client, globals::Globals};
use eframe::CreationContext;
use egui::CentralPanel;
-use karlcommon::{socket_path, ServerboundPacket};
+use karlcommon::{interfaces::unix_path, ServerboundPacket};
use log::{error, info};
use std::{os::unix::net::UnixStream, process::exit};
use views::{calendar::Calendar, edit::ShowAndEdit};
@@ -39,7 +39,7 @@ impl App {
pub fn new(cc: &CreationContext) -> Self {
cc.egui_ctx.set_visuals(egui::Visuals::dark());
- let socket = match UnixStream::connect(socket_path()) {
+ let socket = match UnixStream::connect(unix_path()) {
Ok(s) => s,
Err(e) => {
error!("failed to connect to socket: {}", e);