Help on debugging a custom wayfire implementation #472
Unanswered
CliodynamicPragmatics
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a custom Ignis shell using the wayfire IPC service hosted here in github. I have had moderate success given that the IPC service is also written in python so there's room for convergence. There are some elements I have achieved like an "focused window" indicator and top bar transparency.
The problem here arised when refactoring, I'm trying to make the Workspaces eventbox send a signal for switching workspaces on scroll via the corresponding pywayfire function, but it seems to be blocked and sends no response. Here is the relevant code for illustrating. Some parts here and there were inspired by the Niri and Hyprland services
Wayfire Service
Workspaces
Workspaces widget
I suspect the culprit of the blocking may be the
while trueblock in the main loop, which is adapted from the event monitor script on pywayfire, as i can either emit the signal and make the workspace indicator change the active workspace css or change the active workspace via scrolling the eventbox. But not both events at the same time.Sorry if this is a beginner question, I'm just unsure how to proceed. I'm using the git versions of both pywayfire and Ignis,
Beta Was this translation helpful? Give feedback.
All reactions