From 79f0cca28edadd9e9b260bff7dc2efd4f7a3a574 Mon Sep 17 00:00:00 2001 From: rakete Date: Wed, 24 Apr 2024 17:36:10 +0200 Subject: [PATCH] use optional local xrandr script --- .config/x11/xprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.config/x11/xprofile b/.config/x11/xprofile index 53f2e680..21f87421 100755 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -3,7 +3,9 @@ # This file runs when a DM logs you into a graphical session. # If you use startx/xinit like a Chad, this file will also be sourced. -xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens. +if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xrandr" ]; then + . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xrandr" +fi setbg & # set the background with the `setbg` script #xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & # Uncomment to use Xresources colors/settings on startup remaps & # run the remaps script, switching caps/esc and more; check it for more info