dotfiles/scripts/setup_display.sh

13 lines
301 B
Bash
Raw Normal View History

2023-05-20 23:04:33 +02:00
#!/bin/zsh
2023-03-01 18:54:13 +01:00
declare -i count=3
declare -i seconds=0.5
2022-07-29 20:48:32 +02:00
while ((count)); do
xrandr >/dev/null
sleep $seconds
((count--))
done
xrandr --fb 7680x2160 --output DP-2 --mode 1920x1080 --pos 0x0 --output DP-0 --primary --mode 3840x2160 --pos 1920x0 --output HDMI-0 --mode 1920x1080 --pos 5760x0