aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bin/fix_screens_at_work.sh
blob: b2f5c35c03c66e44801fb8b39d32215dfa4a9deb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

# 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