made things compatible for 4k screen
This commit is contained in:
8
scripts/scale.sh
Executable file
8
scripts/scale.sh
Executable 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
|
||||||
Reference in New Issue
Block a user