hidpi 설정

This commit is contained in:
2020-08-17 15:15:35 +09:00
parent 0774d4db61
commit b12108b3a0
16 changed files with 712 additions and 32 deletions

View File

@@ -5,6 +5,7 @@
export DPI=$(xrdb -query | grep "dpi" | cut -f 2)
export SCALE=$GDK_SCALE
export POLYBAR_HEIGHT=$(echo 27 \* $SCALE | bc)
export POLYBAR_ICON_HEIGHT=$(echo 16 \* $SCALE | bc)
export XSIZE=$(xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f1)
export YSIZE=$(xrandr --current | grep '*' | uniq | awk '{print $1}' | cut -d 'x' -f2)