From c8ffca837a7b1582dd4428efecb9bd46ac3bd583 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Tue, 3 Sep 2024 21:17:04 +0200 Subject: [PATCH] xsettingsd: trigger an update for things listening to RR events This includes dunst. --- bin/xsettingsd-setup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/xsettingsd-setup b/bin/xsettingsd-setup index 638470c..9da0e0b 100755 --- a/bin/xsettingsd-setup +++ b/bin/xsettingsd-setup @@ -52,7 +52,8 @@ echo "using ${dpi}dpi" >&2 echo Xft.rgba: $( [ $dpi -gt 144 ] && echo none || echo rgb ) } | xrdb -merge -# X server update +# X server update (+ trigger update) +xrandr --dpi $((dpi-1)) xrandr --dpi $dpi # Build xsettingsd