Skip to content
Discussion options

You must be logged in to vote

There is already an IPC message that provides that information, see man scroll-ipc.

There are both GET_SCROLLER (for initialization) and a scroller event type. If you want to see an implementation of that widget, there is one in scrollbar (see swaybar/ipc.c etc. and search for the SCROLLER events) and another one in gtkshell, see scroll.h and scroll.cpp.

If you have any doubts, you can ask them here.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Diax170
Comment options

Answer selected by Diax170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants