Re: [dev] [dwm]: something like the xfce scale all windows feature

2022-07-01 Thread T Taylor Gurney
On Thu, Jun 30, 2022 at 01:09:04PM -0800, Britton Kerin wrote:
> I've got one of the high-res monitors and everything looks really
> tiny.  I notec xfce4 has this
> "scale everything by 2" feature that addresses this, what's the
> easiest way to get this in dwm?
> 
> I didn't see any patch saying it does it, might have missed one though
> there are so many now :)
> 

With dwm I just use something like the following, which is in my .xinitrc:

  xrandr --output eDP-1 --scale 0.5

I'm sure there are other ways to do it that make things look nicer, but my
guess is that this is the simplest.

Taylor



Re: [dev] [dwm]: something like the xfce scale all windows feature

2022-07-01 Thread Nick
Quoth Britton Kerin:
> I've got one of the high-res monitors and everything looks really
> tiny.  I notec xfce4 has this
> "scale everything by 2" feature that addresses this, what's the
> easiest way to get this in dwm?

You can just make the font bigger in dwm's config.h, and the border 
size if you want. That's the extent to which dwm is involved, as 
it's just a window manager.

I'm guessing you want other programs to do scaling - there are 
different environment variables to set for different GUI toolkits, 
this webpage gives a reasonable overview - set these in your 
.xprofile or wherever you see fit: 
https://wiki.archlinux.org/title/HiDPI#GUI_toolkits