SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

[Feature] setting control-center-margin in percentage of the screen instead of pixels

Open K0SS4 opened this issue 2 years ago • 2 comments

Please read through the README and the Man pages before submitting Please also make sure that there isn't any prior issue describing this feature I did :)

Is your feature request related to a problem? Please describe. I'm using a 2 monitor setup where one of the monitors is 1920x1080 and the other is 2560x1440. When I set for example margin-top to like 400 it looks good on full-hd but for 2k it's a little to short.

Describe the solution you'd like I would like to set the control-center-margin-top/bottom/right/left in percentage of the screen like: "control-center-margin-top": "60%" That would make margin-top of my full-hd: 0.6 * 1080 = 648px and my 2k: 0.6 * 1440 = 864.

Describe alternatives you've considered Maybe setting different config for different monitors?

Thanks for making such an amazing notification system :)

K0SS4 avatar Nov 01 '23 13:11 K0SS4

Came here to see if this exists.

Percentage would be very helpful, especially now that I jump between two monitors like OP, but also two laptops, one 14inch and the other 16inch. (Yes I know I have a problem).

ldelossa avatar Dec 04 '23 16:12 ldelossa