From 97322f1510b97561e353aa5adb90458c02453e0f Mon Sep 17 00:00:00 2001 From: jason Date: Mon, 8 Jul 2019 11:05:36 -0600 Subject: update for work screens --- scripts/bin/fix_screens_at_work.sh | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) (limited to 'scripts/bin') diff --git a/scripts/bin/fix_screens_at_work.sh b/scripts/bin/fix_screens_at_work.sh index a4f20a6..b2f5c35 100755 --- a/scripts/bin/fix_screens_at_work.sh +++ b/scripts/bin/fix_screens_at_work.sh @@ -1,11 +1,20 @@ #!/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 +# #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 -- cgit v1.2.1