raboof / notion

Tiling tabbed window manager
https://notionwm.net/
GNU Lesser General Public License v2.1
268 stars 63 forks source link

What determines if a look is hidpi? #364

Open bhougland18 opened 1 year ago

bhougland18 commented 1 year ago

Hello, I have a high dpi screen and was pleasantly surprised that Notion worked on my laptop screen without modification. However, I was playing with the look_* files and can't seem to understand what is different in the hidpi files vs the normal ones. I am trying to get the paper theme to work the same as the current hidpi theme. What do I need to do to get this to work? Also, what determines the height of the tab? I played around with the font size, but it didn't seem to work. Thank you!

raboof commented 1 year ago

can't seem to understand what is different in the hidpi files vs the normal ones

The main difference is the hidpi ones use larger fonts ;). The default config just looks at the screen width to choose which look to load: https://github.com/raboof/notion/blob/82c48d53791ec0de9ffde8f67de1a1f09caaa27e/etc/look.lua

what determines the height of the tab?

I seem to remember the font size should do it, but perhaps you need to restart notion or something? Haven't checked though.