Last active
July 23, 2019 09:02
-
-
Save hadihammurabi/1b0ba980bc4f8876b5fbbc2d578cb900 to your computer and use it in GitHub Desktop.
Multiscreen control from CLI using XRandR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# connect to screen using HDMI | |
xrandr --output HDMI-1 --mode 1360x768 --auto --above eDP-1 | |
# disconnect | |
xrandr --output HDMI-1 --off |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment