From ec80d0db3e22103d844e7d7eafab63d253e79db6 Mon Sep 17 00:00:00 2001 From: srmo Date: Sun, 31 Aug 2025 18:42:09 +0200 Subject: [PATCH] focus_following_panel: use XDG env var for IPC socket path, according to Hyprland docs --- focus_following_panel/shell.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/focus_following_panel/shell.qml b/focus_following_panel/shell.qml index b5fd7ee..ad43ce8 100644 --- a/focus_following_panel/shell.qml +++ b/focus_following_panel/shell.qml @@ -6,7 +6,8 @@ ShellRoot { Socket { // Create and connect a Socket to the hyprland event socket. // https://wiki.hyprland.org/IPC/ - path: `/tmp/hypr/${Quickshell.env("HYPRLAND_INSTANCE_SIGNATURE")}/.socket2.sock` + + path: `${Quickshell.env("XDG_RUNTIME_DIR")}/hypr/${Quickshell.env("HYPRLAND_INSTANCE_SIGNATURE")}/.socket2.sock` connected: true parser: SplitParser {