Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

awesomeWM workspaces and skippy-xd #3902

Closed
felixfung opened this issue Mar 11, 2024 · 3 comments
Closed

awesomeWM workspaces and skippy-xd #3902

felixfung opened this issue Mar 11, 2024 · 3 comments
Labels

Comments

@felixfung
Copy link

Hi,

skippy-xd has seen some improvements and works well with awesomewm!

https://github.com/felixfung/skippy-xd/
https://youtu.be/R__zua04xe0
https://youtu.be/reUDapFGnmQ

As far as I know, everything works perfectly between awesomewm and skippy-xd. EXCEPT workspaces:
felixfung/skippy-xd#52

So far I have not found too many documentations on workspaces/tags...

Right now I am seeing that _NET_NUMBER_OF_DESKTOPS = XineramaQueryScreens() * (virtual desktops per screen)

(and yes I see that awesomewm uses xcb rather than x11, skippy-xd is compatible with WMs that uses xcb)

For proper implementation of skippy-xd paging on awesomewm, we need a way of querying (or perhaps explicit setting through the skippy-xd config file) tags in skippy-xd, including querying for:

  1. the number of tags
  2. the names of the tags
  3. the geometric dimensions of the tags
  4. and tag associated with each window.

How should we do that?

Thanks a bunch!

@actionless
Copy link
Member

but the workspace are not specific thing in awesome wm - in other window managers (think openbox) the workspaces are implemented the same

so i don't think it's a good idea to use awesome's api to query that info, but rather query it from x itself

@felixfung
Copy link
Author

@actionless if that is the case, then we should have

_NET_NUMBER_OF_DESKTOPS == XineramaQueryScreens()

rather than

_NET_NUMBER_OF_DESKTOPS == XineramaQueryScreens() * (virtual desktops per screen)

E.g. when there are 9 tags, and 1 screen, _NET_NUMBER_OF_DESKTOPS == 9; but when there are 2 screens, then _NET_NUMBER_OF_DESKTOPS == 18.

From https://specifications.freedesktop.org/wm-spec/1.3/ar01s03.html,

 This property should be set and updated by the Window Manager to indicate the *number of virtual desktops*.

@actionless
Copy link
Member

actionless commented Mar 17, 2024

but that's a property of a root window, so it will be a number of desktops for the screen on which that window at - that's nothing to do with awesome wm so it would be better to seek help on xserver community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants