mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-28 12:30:01 +02:00
xsettingsd: more comments
This commit is contained in:
parent
d7720d2e98
commit
9874735f98
1 changed files with 4 additions and 0 deletions
|
@ -45,10 +45,14 @@ dpi=${dpis%% *}
|
|||
dpi=${dpi:-96}
|
||||
|
||||
echo "using ${dpi}dpi" >&2
|
||||
|
||||
# Xrdb update
|
||||
{
|
||||
echo Xft.dpi: $dpi
|
||||
echo Xft.rgba: $( [ $dpi -gt 144 ] && echo none || echo rgb )
|
||||
} | xrdb -merge
|
||||
|
||||
# X server update
|
||||
xrandr --dpi $dpi
|
||||
|
||||
# Build xsettingsd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue