mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
It turns out that GDK_SCALE and GDK_DPI_SCALE is what you need to add HiDPI support to GTK applications. Since you probably have .Xresources adjusted for your HiDPI display, you will need to set both GDK_SCALE and GDK_DPI_SCALE at the same time to render things properly. Ironically, I never got this to work before. Maybe because I was always using 'GTK_SCALE' instead of 'GDK_SCALE', or maybe because I never used both GDK_SCALE and GDK_DPI_SCALE at the same time. This gives me full HiDPI support in bspwm, with the exception of a few applications (polybar, dunst) that don't honor DPI as of this writing.
Dotfiles
TODO: Screenshots
Usage
Replicate my Arch Linux setup
On a fresh Arch Linux install, run the bootstrap script.
git clone https:///github.com/GloverDonovan/dotfiles --depth 1 && ./dotfiles/.archlinux/bootstrap.sh
Replicate my Fedora setup
On a fresh Fedora install, run the bootstrap script.
git clone https://github.com/GloverDonovan/dotfiles --depth 1 && ./dotfiles/.fedora/bootstrap.sh
Use only the dotfiles you want
Install stow
with your package manager, then use make package=dir
and make uninstall package=dir
as needed. Stow will only change what it owns.
Languages
Nix
100%