Better GUI adjustments

This commit is contained in:
Luxferre
2026-06-02 19:39:45 +03:00
parent 9022a71899
commit e94b78879b
5 changed files with 17 additions and 24 deletions
+11 -7
View File
@@ -2,14 +2,18 @@
# Roid post-installation steps for GUI desktop environment
# !!!under construction!!!
# system DPI (TBD how to handle it more correctly)
SYSDPI=144
# system DPI
SYSDPI=216
cd /root
cat >> .bash_profile <<'EOF'
export DISPLAY=:0
export GALLIUM_DRIVER=virpipe
export GDK_SCALE=1
export GTK_THEME=Adwaita:dark
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_ENABLE_HIGHDPI_SCALING=1
EOF
# install st
@@ -58,10 +62,10 @@ cp $TERMUX_HOME/roid/dunstrc .config/dunst/
echo 'Preparing Xresources...'
cat > .Xresources <<EOF
Xft.dpi: $SYSDPI
*.dpi: 96
*.dpi: $SYSDPI
Xcursor.theme: Vanilla-DMZ-AA
Xcursor.size: 32
St.font: Fira Code:size=14:antialias=true:autohint=true
GDK_SCALE: 1
GDK_DPI_SCALE: 1
Xcursor.size: 48
St.font: Fira Code:size=16:antialias=true:autohint=true
GDK_SCALE: 2
GDK_DPI_SCALE: 2
EOF