mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Modify check for mutter
This commit is contained in:
parent
0c27957230
commit
77a0bacda8
@ -372,7 +372,7 @@ do_overscan_kms() {
|
|||||||
fi
|
fi
|
||||||
xrandr --output HDMI-$DEV --set "left margin" $PIX --set "right margin" $PIX --set "top margin" $PIX --set "bottom margin" $PIX
|
xrandr --output HDMI-$DEV --set "left margin" $PIX --set "right margin" $PIX --set "top margin" $PIX --set "bottom margin" $PIX
|
||||||
# hack to force reload when not using mutter
|
# hack to force reload when not using mutter
|
||||||
if ! ps ax | grep -v grep | grep -q mutter ; then
|
if ! ps ax | grep -v grep | grep -q " mutter" ; then
|
||||||
xrandr --output HDMI-$DEV --reflect x
|
xrandr --output HDMI-$DEV --reflect x
|
||||||
xrandr --output HDMI-$DEV --reflect normal
|
xrandr --output HDMI-$DEV --reflect normal
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user