dotfiles/_local/vriska/.screenlayout/workplace_withlaptop.sh

23 lines
858 B
Bash
Executable File

#!/bin/sh
# needed because this script stops working after detaching laptop from docking station
#xrandr --output DP2-1 --off --output DP2-2 --off
xrandr --output eDP-1 --mode 1920x1080 --pos 0x2160 --scale 1x1 --rotate normal \
--output DP-1-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal \
--output DP-2-2 --mode 3840x2160 --right-of DP-1-2 --rotate normal \
--output DP-2 --off \
--output DP-2-1 --off \
--output DP-2-3 --off
# TEST TEST TEST
#xrandr --output eDP-1 --primary --mode 1920x1080 --pos 0x1080 --scale 1x1 --rotate normal \
# --output DP-1-2 --mode 1920x1080 --pos 0x0 --rotate normal \
# --output DP-2-2 --mode 1920x1080 --right-of DP-1-2 --rotate normal \
# --output DP-2 --off \
# --output DP-2-1 --off \
# --output DP-2-3 --off
[ -f ~/.fehbg ] && sh ~/.fehbg