~mil/sxmo-xdm-config

4c59a6eb786a0e58c7f3c982b8217fc84356f14e — tetrakist 7 months ago a96d528
Add HiDPI support: use xrandr to set DPI

This sets the DPI using xrandr when xdm starts up.

Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
1 files changed, 1 insertions(+), 0 deletions(-)

M Xsetup_0
M Xsetup_0 => Xsetup_0 +1 -0
@@ 3,6 3,7 @@ sxmo_setpineled red 0
sxmo_setpineled blue 0
sxmo_setpineled green 0
echo 750 > /sys/devices/platform/backlight/backlight/backlight/brightness #scale goes from 0-1000 on kernel 5.8
xrandr --dpi 192
xsetroot -mod 29 29 -fg '#0b3a4c' -bg '#082430'
if [ -f /usr/lib/X11/xdm/wallpaper.jpg ]; then
    feh --bg-fill -z /usr/lib/X11/xdm/wallpaper.jpg