cleanup: formatting displayselect
space -> tab make default config more robust
This commit is contained in:
parent
d0710eb249
commit
4dd0a71bda
@ -35,7 +35,6 @@ twoscreen() { # If multi-monitor is selected and there are two screens.
|
||||
--output "$internal" --auto --same-as "$external" \
|
||||
--scale "$scale_x"x"$scale_y"
|
||||
else
|
||||
|
||||
default=$(printf "yes\\nno" | dmenu -i -p "Default settings?")
|
||||
if [ $default = "no" ]; then
|
||||
primary=$(echo "$screens" | dmenu -i -p "Select primary display:")
|
||||
@ -46,8 +45,8 @@ twoscreen() { # If multi-monitor is selected and there are two screens.
|
||||
--output "$secondary" --"$direction"-of "$primary" --auto --scale 1.2x1.2 --rotate $rotation
|
||||
else
|
||||
xrandr --fb 4224x2376 \
|
||||
--output eDP1 --auto --mode 1920x1080 --pos 2304x0 \
|
||||
--output HDMI2 --auto --scale 1.2x1.2
|
||||
--output "eDP-1" --mode 1920x1080 --pos 2304x0\
|
||||
--output "HDMI-2" --scale 1.2x1.2 --pos 0x0
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Reference in New Issue
Block a user