dotfiles/.config/sway/startwlrrandr.sh

13 lines
396 B
Bash
Raw Normal View History

2021-12-11 15:02:56 +01:00
#!/bin/bash
2021-12-12 17:54:28 +01:00
# Ignore sleep when run script from startwlrscreensaver.sh
if [ "${1}" == "screensaver" ] ; then
echo "Load monitor configuration quickly"
else
sleep 2
fi
2021-12-11 15:02:56 +01:00
2021-12-12 17:54:28 +01:00
# Configuration for your monitor(s). Use wlr-randr and/or wdisplays for help
2021-12-11 15:02:56 +01:00
wlr-randr --output DP-1 --custom-mode 1280x1024@75Hz --pos 288,0
wlr-randr --output DP-2 --custom-mode 1280x1024@75Hz --transform 90 --pos 1568,0