|
So I'm trying to add a custom overview indicator widget to Waybar. Now is there a way to subscribe or at least probe workspace_scale or overview state, or would this have to be implemented beforehand? Is there a Scrollbar implementation of this widget? This discussion falls under both Ideas and Q&A, I'm unsure which one to choose... |
Answered by
dawsers
Jun 8, 2026
Replies: 1 comment 1 reply
|
There is already an IPC message that provides that information, see There are both If you have any doubts, you can ask them here. |
1 reply
Answer selected by
Diax170
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is already an IPC message that provides that information, see
man scroll-ipc.There are both
GET_SCROLLER(for initialization) and ascrollerevent type. If you want to see an implementation of that widget, there is one inscrollbar(seeswaybar/ipc.cetc. and search for theSCROLLERevents) and another one in gtkshell, seescroll.handscroll.cpp.If you have any doubts, you can ask them here.