-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Added river support #3674
base: master
Are you sure you want to change the base?
Added river support #3674
Conversation
This attempts to generalize wlroots compositors by checking against the proper desktop name instead of only sway. This fixes the problem of only supporting sway. Any additional desktop will just have to be added to the source to check for the correct string.
docs/Sway and wlroots support.md
Outdated
and add the following on your River config: | ||
|
||
``` | ||
riverctl float-filter-add "flameshot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This rule is not support since River 0.3.x. You should use riverctl rule-add -app-id "flameshot" float
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll change this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed 👍
Maybe I don’t understand something, but river is already supported in the master branch and you no longer need to indicate that the current desktop is sway |
Changing your XDG vars to sway is not a solution. It is a very hacky work around. It breaks all other software using XDG vars. So explicit support is required instead of the hack which the docs recommend. |
You don’t understand, you no longer need to indicate that the current desktop is sway. I have |
Can you link the commit that solved this? |
Maybe 3ededae not sure but you can build the master branch and make sure everything works |
Please find some other person to troll when you're too lazy and lack the time to actually perform a proper system test. |
It was very strange to read this. If you don’t believe me (although why should I deceive you), then trust yourself simply by checking. Good luck |
You may have
I have. I don't make PRs or comment on issues or PRs without checking like you. |
river.mp4 |
What are you running for |
In init I have |
Then that's probably why. You haven't properly told dbus your |
Also, how are you launching flameshot? I see no flameshot command executed on the terminal. So this is really deceiving. |
I don't know how to comment on this. Goodbye |
Well, you could show how you're running flameshot or even send another video of actually running flameshot from the terminal. But the fact that you're only telling dbus that you're on Wayland and not which compositor already throws a red flag. |
Apart from the discussion, and despite of not being a river user myself, the PR's code change looks good to me. let's wait for @veracioux, @panpuchkov, @jack9603301, or other devs review it too before merging. As a side note, imho this |
I 100% agree. But the only other thing I can think of to find if something uses wlroots is to ask if the xdg-desktop-portal-wlr is installed which is not always the case. So to be consistent with the other code and to be conforming with every wlroots system, this is probably the best choice for now. |
I mean, I guess the xdg-desktop-portal is kind of required for a screenshot tool to be fair. So it may be possible to test based on this? |
Perhaps. I think for now we go with this and keep an open mind on alternative approaches |
I'll play around with the xdg-desktop-portal in the meantime to see if I can figure out something. I think it'll require a lot of research though. So I don't anticipate having a PR ready any time soon. So yeah, I agree. I think merging this in the meantime is the best idea. |
Any further thoughts? Or is there anything keeping from merging this? |
Hello, not sure if it's helpful, |
Yeah, I'm not sure what the hold up is. It compiles. It works. I'm willing to test for river in the future. And no one is merging it. Absolutely nuts. It isn't like there's much activity on the repo either. |
This attempts to generalize wlroots compositors by checking against the proper desktop name instead of only sway. This fixes the problem of only supporting sway. Any additional desktop will just have to be added to the source to check for the correct string.