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
Is there a working workspace list for any of the suggested bars? #881
Comments
I'm sure we'll do this one day, but I prefer not to make promises about when. Ref: |
We have implemented a pre-support for ext-workspace-unstable in libxfce4windowing and the workspace switcher of xfce4-panel uses it, but of course for the moment it is only virtual, since no compositor supports this protocol to my knowledge. (And there's probably still some work to do on our side anyway.) |
Roger that. Thank you. Do you know an easy way to follow when ext-workspace-unstable will get implemented in libxfce4windowing? If not I'll just check every six months. |
It is already (pre)implemented in libxfce4windowing. The question is when this protocol will be accepted upstream (for that you can follow the merge request above), so that compositors, including Labwc, start using it. |
Got it! |
Nice, but it looks like it will work only if you switch workspaces by shortcut, I've apps tied to some workspace which are activated by click on the taskbar or by a link (browser and mail) and I use also mostly 3-finger swiping to switch. It would be nice if the OSD could "export" the target workspace but it would still not be enough. |
It's been a while, but are there any plans to implement this in a consistent manner? Last I checked there were at least two unstable protocols that could be used (wlr-foreign-toplevel-management-unstable and ext-workspace-unstable) but the state of adoption seems to be rather lacking to put it lightly. How are other compositor/bar combinations handling this (instead of falling back to sway-specific features)? I feel like we're missing an important feature here but it doesn't help that there doesn't seem to be a standard way of getting it to work. |
Some are likely rendering a bar within their own compositor thus they do already have the state and don't need a protocol for that. Others are likely using their own private wayland protocol or some other form of custom IPC. Labwc generally will not support custom IPC nor private wayland protocols. However, in this case we may end up actually ignoring our own stance at some point and implement one of the unofficial variants (without the Maybe we actually need a new |
There are some proposed changes in window switching behavior, see #1479 (comment) |
Can this be exported (including xwayland/xdg-shell information) to be used by some command or other tools like panels? Atm the only way to see if an app is running in xwayland mode is the switcher, a kind of list like |
No easy way export the data, as some of the data is internal with no easy way of sharing. |
Hacky workaround: #!/bin/bash
x11=( $(wmctrl -l -x | awk '{print $3}' | sed 's/^[^.]*[.]//') )
wlrctl window list | while IFS=':' read -r app_id title; do
backend="[xdg]"
for WM_CLASS in "${x11[@]}"; do
if test "$WM_CLASS" == "$app_id"; then
backend="[x11]"
break;
fi
done
printf "%-15s\t%5s\t%s\n" "$app_id" "$backend" "$title"
done |
A socket that would only output certain data from certain commands would be ideal. Another thought is something like window switcher, but the window wouldn't allow change, just display the data, though alt tab and then escape does almost that. A separate window could be made mostly transparent in perhaps an overlay fashion. Just a couple of thoughts. |
Hello, I haven't been using labwc in a while. The reason I stopped using was silly but it mattered to me a lot. At the time I used it, there wasn't support for any of the bars to show the workspace list. Since then, I noticed xfce4panel got wayland support. So I thought that might be it but I actually have little hope of that working.
Ever since that, I also have seen people who forked waybar and make it work for their own environments. For example this one uses wlr/workspaces module instead of sway/workspaces module however I haven't tried it on labwc yet.
Would any of these work? I really want to return back to labwc but my perfectionism keeps me away.
The text was updated successfully, but these errors were encountered: