mostly fixes
[distro-setup] / laptop-xrandr
1 #!/bin/bash
2 set -e; . /usr/local/lib/err; set +e
3
4 # xrandr --auto
5
6 # xrandr --output HDMI2 --right-of eDP1 --mode 3840x2160
7
8 for i in 1 2 4 5 6 7 8 9 10; do
9 # if the workspace is already there, this will fail
10 i3-msg '[workspace="'$i'"]' move workspace to output HDMI2 ||:
11 done