Skip to content

Instantly share code, notes, and snippets.

@gitnepal
Created December 13, 2018 07:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gitnepal/1a79e1469d4dbac193c1bc82f1b62997 to your computer and use it in GitHub Desktop.
Save gitnepal/1a79e1469d4dbac193c1bc82f1b62997 to your computer and use it in GitHub Desktop.
Switching Desktop Monitors Screens
#!/usr/bin/env bash
xrandr --auto --output HDMI-1-1 --mode 1920x1080 --left-of eDP-1-1
# run xrandr first see your monitor names and resolution, change above codes as your dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment