mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 04:20:03 +02:00
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:
parent
d3af9e4890
commit
d85a504c53
95 changed files with 383 additions and 3116 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue