Better GUI adjustments
This commit is contained in:
+11
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user