You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
I have specifically verified that this bug is not a common user error
I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)
Description of the bug
Noticed this on a couple of occasions. Not sure if it's my configuration or a bug, but it doesn't seem very intention. I'm using Socat to connect to hyprland's unix socket for receiving messages. I'm then defining a listener to get the messages when they are emitted from the socket.
Reproducing the issue
Use socat -U - UNIX-CONNECT:/tmp/hypr/e93fbd7c4f991cb8ef03e433ccc4d43587923e15_1713287664/.socket2.sock | rg -o --pcre2 "(?<=DP-\d,)\d{1,2}" to open a connection with the unix socket.
The script contains the command listed above. The command outputs the correct workspace when ran in the terminal. Attempting to use the same script with the configured listen results in the following error:
2024-04-17T01:23:51.003Z ERROR eww::error_handling_ctx > Failed to send success response from application thread
Caused by:
channel closed
2024-04-17T01:23:51.003Z ERROR eww::error_handling_ctx > Failed to send success response from application thread
Caused by:
channel closed
Full configuration listed below.
Expected behaviour
I assume the listener is supposed to run a script once and then listen continuously for output base on the documentation located here and then update the output when it receives the message.
Checklist before submitting an issue
Description of the bug
Noticed this on a couple of occasions. Not sure if it's my configuration or a bug, but it doesn't seem very intention. I'm using Socat to connect to hyprland's unix socket for receiving messages. I'm then defining a listener to get the messages when they are emitted from the socket.
Reproducing the issue
Use
socat -U - UNIX-CONNECT:/tmp/hypr/e93fbd7c4f991cb8ef03e433ccc4d43587923e15_1713287664/.socket2.sock | rg -o --pcre2 "(?<=DP-\d,)\d{1,2}"
to open a connection with the unix socket.Define a listener (this is my configuration):
(deflisten workspace :initial "" "~/.config/hypr/scripts/currentworkspace")
The script contains the command listed above. The command outputs the correct workspace when ran in the terminal. Attempting to use the same script with the configured listen results in the following error:
Full configuration listed below.
Expected behaviour
I assume the listener is supposed to run a script once and then listen continuously for output base on the documentation located here and then update the output when it receives the message.
Additional context
Full Configuration
Three files in ~/config/eww:
eww.yuck
widgets.yuck
polls.yuck
eww.scss
The text was updated successfully, but these errors were encountered: