Skip to content

Instantly share code, notes, and snippets.

@r0x0d
Created November 23, 2021 11:16
Show Gist options
  • Select an option

  • Save r0x0d/ce16118da868be0be7c0a25386b93b08 to your computer and use it in GitHub Desktop.

Select an option

Save r0x0d/ce16118da868be0be7c0a25386b93b08 to your computer and use it in GitHub Desktop.
Script that turnon the other monitors in my setup
#!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 3840x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-3-1 --mode 1920x1080 --pos 0x0 --rotate normal --output DP-3-2 --off --output DP-3-3 --mode 1920x1080 --pos 1920x0 --rotate normal && exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment