mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-03 06:44:21 +02:00
xsettings: change DPI twice again
This commit is contained in:
parent
b7150025e0
commit
1aa3f19a7d
1 changed files with 6 additions and 0 deletions
|
@ -38,4 +38,10 @@ change() {
|
|||
echo Xft.dpi: $dpi | xrdb -merge
|
||||
}
|
||||
|
||||
if [ x"$pid" != x ]; then
|
||||
# Change a first time to a DPI that will trigger a scale factor
|
||||
# change (notably, Firefox needs that).
|
||||
change $(( $dpi * 2 ))
|
||||
sleep 1
|
||||
fi
|
||||
change $dpi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue