summaryrefslogtreecommitdiff
path: root/.config/eww/scripts
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-23 03:45:00 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-23 03:45:00 +0200
commite4f3378a8057d763eda0cac66d86afcf243cdc94 (patch)
treebff94ab7ab5b5460597c2d638c676ac001d1ea60 /.config/eww/scripts
parent4197b10f1c3a44f1b43238258e09a72b309b6521 (diff)
eww: Read socket from the correct directory
Diffstat (limited to '.config/eww/scripts')
-rwxr-xr-x.config/eww/scripts/keymap-listener2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/eww/scripts/keymap-listener b/.config/eww/scripts/keymap-listener
index 82304b2..cc3ffcf 100755
--- a/.config/eww/scripts/keymap-listener
+++ b/.config/eww/scripts/keymap-listener
@@ -1,6 +1,6 @@
#!/bin/sh
-readonly IPC=/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock
+readonly IPC="$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock"
readonly KBD=at-translated-set-2-keyboard
hyprctl devices -j | jq -r '.keyboards[-1].active_keymap'