Initial i3 configuration

This is derived from my Awesome configuration. Still a lot to do from
a WM perspective. The organization is a bit different and I am giving
it up on the per-display systemd units as it does not really work due
to the fact we only have one user DBus and one environment.
This commit is contained in:
Vincent Bernat 2021-07-03 14:13:56 +02:00
parent d3af9e4890
commit d85a504c53
95 changed files with 383 additions and 3116 deletions

View file

@ -33,15 +33,12 @@ xrandr --dpi $dpi
# Build xsettingsd
{
cat ~/.config/awesome/xsettingsd
cat ~/.config/i3/xsettingsd
echo Xft/DPI $(( $dpi*1024 ))
echo Xft/RGBA \"$( [ $dpi -gt 144 ] && echo none || echo rgb )\"
echo Gdk/WindowScalingFactor $(( $dpi/96 ))
echo Gdk/UnscaledDPI $(( $dpi*1024/($dpi/96) ))
} > ~/.xsettingsd
# Signal xsettingsd
systemctl --user reload xsettingsd@$(systemd-escape -- "$DISPLAY").service
# Also use xrdb for very old stuff (you know, LibreOffice)
echo Xft.dpi: $dpi | xrdb -merge