#!/bin/bash # #xrandr --setprovideroutputsource 1 0 # #xrandr --output DP-2 --mode 1920x1200 # xrandr --output DP-4 --right-of DP-2 --auto --primary #--mode 2560x1440 # xrandr --output DVI-I-1-1 --below DP-4 --auto # # For some reason, occasionally this needs to be executed twice # xmodmap ~/.Xmodmap-pckeyboard_fix # sleep 1 # xmodmap ~/.Xmodmap-pckeyboard_fix # With USB monitor xrandr --output DVI-I-2-1 --mode 1920x1080 --pos 2280x1440 --rotate normal --output eDP-1-1 --primary --mode 1920x1080 --pos 0x144 --rotate normal --output HDMI-0 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --mode 2560x1440 --pos 1920x0 --rotate normal # Without usb monitor #xrandr --output eDP-1-1 --primary --mode 1920x1080 --pos 0x256 --rotate normal --output HDMI-0 --off --output DP-3 --off --output DP-2 --off --output DP-1 --off --output DP-0 --mode 2560x1440 --pos 1920x0 --rotate normal feh --bg-scale ~/Sync/wallpaper/wallhaven-3601.jpg xmodmap ~/.Xmodmap