[dev] [st] Multiple monitors dpi autoswitch

From: Amer <amerlyq_AT_gmail.com>
Date: Fri, 29 Dec 2017 01:53:31 +0200


The problem:
  * two monitors with very different dpi -- FullHD 100 and UltraHD 274
  * spawning new terminal has font size related to dpi of preffered monitor
  * moving spawned [st] window between monitors (e.g. in tiling WM)
    => text size requires adjusting by <C-S-PgUp> / <C-S-PgDn>

Wish -- [st] automatically adjusts it's font size for the monitor,
manually evaluating monitor dpi from queried physical geometry,
assuming that both monitors placed on equal distance and require
similar physical size of letters on screen.

It's similar to how webkit resizes content when browser moved
between monitors.

Before I started to write the patch for this on my own,
I would liked to ask if something similar already exists,
or why my approach is destined to fail, please.
Received on Fri Dec 29 2017 - 00:53:31 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 29 2017 - 01:00:21 CET