diff --git a/.gitignore b/.gitignore index 47f69d9..c826e11 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ /wallpapers /screenshots +/xsettingsd.local diff --git a/xsession b/xsession index 88d97e7..1370bd4 100644 --- a/xsession +++ b/xsession @@ -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 diff --git a/xsettingsd.zoro b/xsettingsd.zoro new file mode 100644 index 0000000..8d8db72 --- /dev/null +++ b/xsettingsd.zoro @@ -0,0 +1 @@ +Xft/DPI 147456