mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-22 09:53:28 +02:00
xsettings: use a customized xsettingsd file
This commit is contained in:
parent
3698e6c650
commit
3743b30f3a
3 changed files with 8 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
*~
|
*~
|
||||||
/wallpapers
|
/wallpapers
|
||||||
/screenshots
|
/screenshots
|
||||||
|
/xsettingsd.local
|
||||||
|
|
8
xsession
8
xsession
|
@ -37,11 +37,15 @@ case "$(hostname)" in
|
||||||
;;
|
;;
|
||||||
zoro)
|
zoro)
|
||||||
xrandr --output eDP1 --auto --dpi 144
|
xrandr --output eDP1 --auto --dpi 144
|
||||||
echo Xft.dpi: 144 | xrdb -merge
|
|
||||||
;;
|
;;
|
||||||
esac
|
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 &
|
xss-lock start &
|
||||||
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
inputplug -0 -c ~/.config/awesome/bin/input-event 2> /dev/null
|
||||||
rfkill block all 2> /dev/null
|
rfkill block all 2> /dev/null
|
||||||
|
|
1
xsettingsd.zoro
Normal file
1
xsettingsd.zoro
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Xft/DPI 147456
|
Loading…
Add table
Add a link
Reference in a new issue