Skip to content

Conversation

@indigo0445
Copy link

Partially resolves #35

Added a config variable disable_when_fullscreen. When set to true (default), waycorner won't activate when a window is fully fullscreen (maybe default of false is better?). Only added for hyprland, but setup is there to extend to sway etc. Also if ran with --preview the corners will still be visible when fullscreen, should be a non-issue if --preview is only used for debugging.

Copy link
Owner

@AndreasBackx AndreasBackx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Unfortunately, I'm not sure that calling hyprctl each time is a good idea. I feel like there should be a better way of doing this, via some Wayland API. If that exists, I might consider the implementation. I don't think doing this is a great solution.

If you want to unblock yourself, you could accomplish this by setting the command to something like hyprctl activewindow -j | SOME_JK_PIPING_MAGIC && $COMMAND.

Let me know if you know of such a Wayland API existing.

@indigo0445
Copy link
Author

indigo0445 commented Sep 10, 2025

Yeah I'm not aware of a universal API for Wayland that can check for fullscreen...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't activate when a fullscreen app is on top

2 participants