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

window-rules: options such as workspace all, which moniter to go on, and wether to make windows never overlap (EG: bar) #1450

Closed
godalming123 opened this issue Apr 3, 2022 · 4 comments
Labels
enhancement external-feature Plugins and features which are intended to not be part of the main wayfire repository

Comments

@godalming123
Copy link

godalming123 commented Apr 3, 2022

Please describe what you want Wayfire to do.
I would like more options for the window rules plugin such as:

  • windows on every workspace
  • options for which screen a window should be on
  • options as to wether the window should stop windows from overlapping EG: a taskbar
  • options for if the user can move/resize a window
  • options for always ontop
  • also when I have the window place set to maximise on it appears to overide window-rules which I think is silly

If applicable, give an example: User does X, Y, Wayfire does Z
In my case I wanted to write a taskbar for wayfire as the available options aren't the best and I am writing in gtk 4 which doesn't allow me to place windows so I am using window place and finding that it doesn't have enough features for this.

@marcusbritanicus
Copy link
Contributor

@godalming123 If you're writing a taskbar, have a look at how it's done in wf-shell. You'll need to use layer-shell protocol. It will allow you to reserve space for the taskbar.

@godalming123
Copy link
Author

But I thought that wasn't available for gtk4 see phuhl/linux_notification_center#26 (comment)

@ammen99
Copy link
Member

ammen99 commented Apr 3, 2022

But I thought that wasn't available for gtk4 see phuhl/linux_notification_center#26 (comment)

That is a GTK4 problem. Anyway, you are really better of writing a custom plugin to do this. I don't think adding immovable property to window-rules makes any sense.

@ammen99 ammen99 closed this as completed Apr 3, 2022
@ammen99 ammen99 added the external-feature Plugins and features which are intended to not be part of the main wayfire repository label Apr 3, 2022
@godalming123
Copy link
Author

How should I do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement external-feature Plugins and features which are intended to not be part of the main wayfire repository
Projects
None yet
Development

No branches or pull requests

3 participants