[−][src]Function penrose::contrib::actions::update_monitors_via_xrandr
pub fn update_monitors_via_xrandr(
primary: &str,
secondary: &str,
position: RelativePosition
) -> Result<()>
Detect the current monitor set up and arrange the monitors if needed using xrandr.
NOTE
- Primary monitor will be set to
primary
- Monitor resolution is set using the --auto flag in xrandr
- Only supports one and two monitor setups.