mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-11-05 17:58:04 +09:00
Set overscan in real-time when in interactive mode
This commit is contained in:
parent
e549940016
commit
83169ae5a5
@ -362,6 +362,7 @@ do_overscan_kms() {
|
||||
sed /usr/share/dispsetup.sh -i -e "s/exit/xrandr --output HDMI-$DEV --set \"left margin\" $PIX --set \"right margin\" $PIX --set \"top margin\" $PIX --set \"bottom margin\" $PIX\nexit/"
|
||||
fi
|
||||
if [ "$INTERACTIVE" = True ]; then
|
||||
xrandr --output HDMI-$DEV --set "left margin" $PIX --set "right margin" $PIX --set "top margin" $PIX --set "bottom margin" $PIX
|
||||
whiptail --msgbox "Display overscan compensation for HDMI-$DEV is $STATUS" 20 60 1
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user