Add filter option when setting pixel doubling

This commit is contained in:
Simon Long
2020-02-05 08:16:22 +00:00
parent 951b1b7996
commit b872f11509
2 changed files with 7 additions and 1 deletions

View File

@@ -422,7 +422,7 @@ do_pixdub() {
DEV=$(xrandr | grep -w connected | cut -f1 -d' ')
for item in $DEV
do
echo xrandr --output $item --scale 0.5x0.5 >> /usr/share/dispsetup.sh
echo xrandr --output $item --scale 0.5x0.5 --filter nearest >> /usr/share/dispsetup.sh
done
STATUS=enabled
elif [ $RET -eq 1 ]; then