Skip to content

Instantly share code, notes, and snippets.

@Maddosaurus
Created October 17, 2016 10:44
Show Gist options
  • Save Maddosaurus/bb0f916c390f84a4df5669f2070a8b37 to your computer and use it in GitHub Desktop.
Save Maddosaurus/bb0f916c390f84a4df5669f2070a8b37 to your computer and use it in GitHub Desktop.
Scaling stuff

Scaling with HiDPI - the nice way

  1. Set biggest display to smaller resolution
    vim .config/i3/config
exec  xrandr --output eDP1 --mode 1920x1080
  1. Set up Xresources correctly to respect DPI and mouse cursor size settings
    vim ~/.Xresources
! Fonts {{{
Xft.antialias: true
Xft.hinting:   true
Xft.rgba:      rgb
Xft.hintstyle: hintfull
Xft.dpi:       80
! }}}
Xcursor.size:   16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment