Skip to content

Instantly share code, notes, and snippets.

@r0x0d
Created November 23, 2021 11:16
Show Gist options
  • Save r0x0d/0fc86d0380fe5fa3bb54830349658c00 to your computer and use it in GitHub Desktop.
Save r0x0d/0fc86d0380fe5fa3bb54830349658c00 to your computer and use it in GitHub Desktop.
Script that turnoff the other monitors in my setup
#!/bin/sh
xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP-1 --off --output DP-2 --off --output DP-3 --off --output DP-3-1 --off --output DP-3-2 --off --output DP-3-3 --off && exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment