aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bin
diff options
context:
space:
mode:
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