xsettings: use a customized xsettingsd file

This commit is contained in:
Vincent Bernat 2014-09-17 10:16:42 +02:00
parent 3698e6c650
commit 3743b30f3a
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
*~
/wallpapers
/screenshots
/xsettingsd.local

View file

@ -37,11 +37,15 @@ case "$(hostname)" in
;;
zoro)
xrandr --output eDP1 --auto --dpi 144
echo Xft.dpi: 144 | xrdb -merge
;;
esac
xsettingsd -c ~/.config/awesome/xsettingsd &
if [ -f ~/.config/awesome/xsettingsd.$(hostname) ]; then
cat ~/.config/awesome/xsettingsd ~/.config/awesome/xsettingsd.$(hostname) > ~/.config/awesome/xsettingsd.local
else
cp ~/.config/awesome/xsettingsd ~/.config/awesome/xsettingsd.local
fi
xsettingsd -c ~/.config/awesome/xsettingsd.local &
xss-lock start &
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
rfkill block all 2> /dev/null

1
xsettingsd.zoro Normal file
View file

@ -0,0 +1 @@
Xft/DPI 147456