summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/src/Caelestia/Internal/hyprextras.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/src/Caelestia/Internal/hyprextras.cpp b/plugin/src/Caelestia/Internal/hyprextras.cpp
index 0504d70..5925918 100644
--- a/plugin/src/Caelestia/Internal/hyprextras.cpp
+++ b/plugin/src/Caelestia/Internal/hyprextras.cpp
@@ -32,14 +32,14 @@ HyprExtras::HyprExtras(QObject* parent)
}
m_requestSocket = hyprDir + "/.socket.sock";
- m_eventSocket = hyprDir + "/.event.sock";
+ m_eventSocket = hyprDir + "/.socket2.sock";
refreshOptions();
refreshDevices();
m_socket = new QLocalSocket(this);
QObject::connect(m_socket, &QLocalSocket::readyRead, this, &HyprExtras::readEvent);
- m_socket->connectToServer(m_eventSocket);
+ m_socket->connectToServer(m_eventSocket, QLocalSocket::ReadOnly);
}
QVariantHash HyprExtras::options() const {