Bloggings

Back

Toggle screen resolution in DWM

2025-06-28

using X220 keys

Sometimes a badly written application will display a panel that is bigger than my X220's screen resolution, which is 1366x768.

To quickly solve this I've affected the Scroll Lock key to a script that toggles scaling between 1366x768 and 1600x900

The scaling adds some fuzziness but gets the job done.

My DWM fork

DWM Scale script

 


ยง