nwg-piotr / nwg-displays

Output management utility for sway and Hyprland.
MIT License
336 stars 22 forks source link

Unable to set precise fractional scaling for display #4

Closed alanorth closed 2 years ago

alanorth commented 2 years ago

My sway/kanshi config has each of my displays at a scale factor of 1.33, but when I try to set the same in nwg-displays it reverts to 1.3 when I apply the settings. I'm not sure if it is actually applying the 1.33 scale and rounding down in the UI, or if it's actually unable to use values such as 1.33.

nwg-version 0.1.2.

nwg-piotr commented 2 years ago

I didn't expect more than one decimal digit to be necessary. The commit above changes the value to 2.

alanorth commented 2 years ago

Ah thank you. Yes I think it's common to use more than one decimal digit. I'll test and let you know. Thank you!

alanorth commented 2 years ago

Working great!

nwg-piotr commented 2 years ago

Does it affect #3 in any way?