mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Corrected error when setting display variable
This commit is contained in:
parent
526261f840
commit
1764b49779
@ -38,7 +38,7 @@ twoscreen() { # If multi-monitor is selected and there are two screens.
|
|||||||
|
|
||||||
# xrandr uses -of as ending for left and right
|
# xrandr uses -of as ending for left and right
|
||||||
if [ "$direction" = "left" ] || [ "$direction" = "right" ]; then
|
if [ "$direction" = "left" ] || [ "$direction" = "right" ]; then
|
||||||
$direction=$(printf "%s-of" "$direction")
|
direction=$(printf "%s-of" "$direction")
|
||||||
fi
|
fi
|
||||||
xrandr --output "$primary" --auto --scale 1.0x1.0 --output "$secondary" --"$direction" "$primary" --auto --scale 1.0x1.0
|
xrandr --output "$primary" --auto --scale 1.0x1.0 --output "$secondary" --"$direction" "$primary" --auto --scale 1.0x1.0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user