made things compatible for 4k screen

This commit is contained in:
2024-02-07 15:14:13 +01:00
parent 4bdbb16aef
commit 44e6b01d19

8
scripts/scale.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
if xrandr | grep 'current 2880 x 1620' > /dev/null
then
xrandr --output DisplayPort-0 --scale 1x1
else
xrandr --output DisplayPort-0 --scale 0.75x0.75
fi