xsettingsd: remove extra .0 awesome puts at the end of DISPLAY

Awesome likes to use :0.0 for DISPLAY because it thinks we are using
Zaphod and not Xinerama.
This commit is contained in:
Vincent Bernat 2020-01-22 22:29:35 +01:00
parent 7163d9fa82
commit 2452fb6bcb

View file

@ -20,7 +20,7 @@ change() {
} > ~/.xsettingsd
# Signal xsettingsd
systemctl --user reload xsettingsd@$(systemd-escape -- "$DISPLAY").service
systemctl --user reload xsettingsd@$(systemd-escape -- "${DISPLAY%.0}").service
# Also use xrdb for very old stuff (you know, LibreOffice)
echo Xft.dpi: $dpi | xrdb -merge