1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00
dotfiles/scripts/4screens

15 lines
447 B
Bash
Executable File

#!/bin/sh
set -e
TOP_LEFT="HDMI-0"
TOP_RIGHT="DP-2.2.1"
BOTTOM_LEFT="DVI-D-0"
BOTTOM_RIGHT="DP-2.1"
xrandr --output $BOTTOM_LEFT --primary --mode 1920x1080 --pos 0x1080 --rotate normal \
--output $TOP_LEFT --mode 1920x1080 --pos 0x0 --rotate inverted \
--output $TOP_RIGHT --mode 1920x1080 --pos 1920x0 --rotate inverted \
--output $BOTTOM_RIGHT --mode 1920x1080 --pos 1920x1080 --rotate normal
[ -e ~/.fehbg ] && ~/.fehbg