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

Auto resize notification to width of output #452

Open
djl opened this issue Feb 1, 2023 · 1 comment
Open

Auto resize notification to width of output #452

djl opened this issue Feb 1, 2023 · 1 comment

Comments

@djl
Copy link

djl commented Feb 1, 2023

Dunst has a neat feature where, if you specify a width greater than the screen a notification is show on, it will automatically resize it to the width of the screen. Quoting from dunst(5):

When setting a width bigger than the screen, dunst will clamp the width to the screen width. So if you want the notifcation to stretch the entire screen dynamically, you may set the width to a high enough number, which none of your screens exceed (e.g. 10000).

Mako doesn't support this out of the box but is it something that could be added? Right now I'm just hard coding the width of my output into my config but this means I can't easily share my config between machines or use on a machine with different sized outputs.

(I spent a while trying to come up with a patch but I'm out of my depth when it comes to Wayland/wlroots)

@GaetanLepage
Copy link

I agree. This would be a very useful feature !

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

No branches or pull requests

2 participants