aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bin
diff options
context:
space:
mode:
authorjason2019-07-22 14:36:17 -0600
committerjason2019-07-22 14:36:17 -0600
commit5cf3d4c49b30c69d792ff6230f65a45f459e3bce (patch)
treed4e1e19b66c1940b6b194d41d2ebb72b6add484a /scripts/bin
parent308fd99861a1f4ac3f5b87d36abfe8e02df224b0 (diff)
parent20a617b529a3319977b97da75e87126201357f85 (diff)
downloaddotfiles-5cf3d4c49b30c69d792ff6230f65a45f459e3bce.tar.gz
dotfiles-5cf3d4c49b30c69d792ff6230f65a45f459e3bce.zip
Merge branch 'master' of jason.zzq.org:repos/dotfiles
Diffstat (limited to 'scripts/bin')
-rwxr-xr-xscripts/bin/fix_screens_at_work.sh27
1 files changed, 18 insertions, 9 deletions
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 @@
1#!/bin/bash 1#!/bin/bash
2 2
3#xrandr --setprovideroutputsource 1 0 3# #xrandr --setprovideroutputsource 1 0
4#xrandr --output DP-2 --mode 1920x1200 4# #xrandr --output DP-2 --mode 1920x1200
5xrandr --output DP-4 --right-of DP-2 --auto --primary #--mode 2560x1440 5# xrandr --output DP-4 --right-of DP-2 --auto --primary #--mode 2560x1440
6xrandr --output DVI-I-1-1 --below DP-4 --auto 6# xrandr --output DVI-I-1-1 --below DP-4 --auto
7 7
8# For some reason, occasionally this needs to be executed twice 8# # For some reason, occasionally this needs to be executed twice
9xmodmap ~/.Xmodmap-pckeyboard_fix 9# xmodmap ~/.Xmodmap-pckeyboard_fix
10sleep 1 10# sleep 1
11xmodmap ~/.Xmodmap-pckeyboard_fix 11# xmodmap ~/.Xmodmap-pckeyboard_fix
12
13# With USB monitor
14xrandr --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
15
16# Without usb monitor
17#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
18
19feh --bg-scale ~/Sync/wallpaper/wallhaven-3601.jpg
20xmodmap ~/.Xmodmap