From 846566c70fd0b741f462ad526474ba58051e2484 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Fri, 17 Jan 2020 11:05:50 +0100 Subject: [PATCH] xsettingsd: skip gamma when getting current profile with xrandr --- bin/xsettingsd-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xsettingsd-setup b/bin/xsettingsd-setup index 7acda84..571c3a5 100755 --- a/bin/xsettingsd-setup +++ b/bin/xsettingsd-setup @@ -2,7 +2,7 @@ # Don't try to guess DPI. For a laptop, we don't want the same DPI as # for an external screen. Just hardcode stuff... -case $(hostname),$(autorandr --current) in +case $(hostname),$(autorandr --current --skip-options gamma) in zoro,default) dpi=144 ;; guybrush,default) dpi=144 ;; neo,*) dpi=192 ;;