mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-23 18:28:34 +02:00
xsettings: set RGBA depending on the DPI setting
When using low DPI, it's still useful to have it.
This commit is contained in:
parent
efb006065b
commit
cb25670d97
2 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,7 @@ change() {
|
|||
{
|
||||
cat ~/.config/awesome/xsettingsd
|
||||
echo Xft/DPI $(( $1*1024 ))
|
||||
echo Xft/RGBA \"$( [ $1 -gt 144 ] && echo none || echo rgb )\"
|
||||
echo Gdk/WindowScalingFactor $(( $1/96 ))
|
||||
echo Gdk/UnscaledDPI $(( $1*1024/($1/96) ))
|
||||
} > ~/.xsettingsd
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
Xft/Antialias 1
|
||||
Xft/Hinting 1
|
||||
Xft/HintStyle "hintslight"
|
||||
Xft/RGBA "none"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue