-
-
Notifications
You must be signed in to change notification settings - Fork 725
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
foreign-toplevel-manager based taskbar module #692
Conversation
Oh nice stuff, i'll review it when i'll get some time 😃 |
You forgot to add man file to build https://github.com/Alexays/Waybar/blob/master/meson.build#L227 Nice work! When you added the man file to build, can you update the github wiki and i'll merge this PR ❤️ |
I pushed the change that adds the man page generation for the taskbar. The PR now has conflicts with master. Do you want me to rebase my branch on the current master and force push? Or do you want to resolve the conflicts yourself. Furthermore, I had some crashes recently and I am still trying to figure out what happens there. The crash occurs when I unplug my external monitor. First the bar gets unresponsive (doesn't update texts, …) and after some time crashes completely with the following message:
I still have to look in the core dump. |
Conflicts fixed :) |
Ok, so it is not related to my changes … I will double check with the original master branch without my module when I have time. |
Just merged! |
Thanks! |
I updated the wiki now. Sorry for the long delay. I was very busy the last weeks. |
Hello! |
Hm, it seems as if your compositor doesn't support the foreign-toplevel-manager protocol. This is a limitation of sway (See issue #728). But according to the issue using the git version of sway from the AUR might solve the problem. Which problem with the icon do you mean? |
Problem that wayland doesn't have xprop analog and icon path for application is not fixating. |
I just rebuild sway with wlroots from master branches and there is still the same issue. |
It works now! |
And close on middle-click doesn't work. |
About middle-click: |
-> And there is no icon on tasks... |
Good catch. I fixed the wiki page. Thank you.
I use wayfire.
Hm, that is interesting. I will also have a look into this. But this might be a bug of sway. Because if I don't get an app_id, I don't really know how to identify the app. The title is usually not very helpful. |
It's not really bug, but nuance of Wayland and sway. app_id used only for pure Wayland application and missing in xwayland. |
Unfortunately, .class is not provided to the module via the foreign-toplevel-manager protocol. Hence I would say this is a problem of sway that it doesn't translate the .class property into the app_id. wayfire which is based on wlroots apparently does it this way. Because there I don't have any problem with missing icons also for xwayland apps. |
Although waybar was originally designed to work with sway, some people use it as a bar with other compositors now. People such as me ;) One feature I was missing from waybar, was a simple taskbar with all the windows that I have open (similar to tint2 for X). After some searching I found wf-panel and its taskbar implementation based on the foreign-toplevel-manager protocol defined by wlroots. I took a lot of inspiration from this implementation and developed a module with similar features for waybar.