removing breaking section from disp and retab shime, yt
This commit is contained in:
parent
1abf6914e9
commit
a2055f3deb
10
scripts/disp
10
scripts/disp
|
@ -4,16 +4,6 @@ exists() {
|
||||||
xrandr | grep ' connected' | grep "${1}" | wc -l
|
xrandr | grep ' connected' | grep "${1}" | wc -l
|
||||||
}
|
}
|
||||||
|
|
||||||
# commands
|
|
||||||
|
|
||||||
[ "$1" = "big" ] && \
|
|
||||||
xrandr --output LVDS1 --off && \
|
|
||||||
exit 0 || exit 1
|
|
||||||
|
|
||||||
[ "$1" = "small" ] && \
|
|
||||||
xrandr --output HDMI2 --off && \
|
|
||||||
exit 0 || exit 1
|
|
||||||
|
|
||||||
# usual setup: thinkpad x220 on dock connected to external
|
# usual setup: thinkpad x220 on dock connected to external
|
||||||
# monitor
|
# monitor
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue