Hi everyone, i3 newbie here!
I’m using i3wm on my laptop with a second monitor attached to it. When I unplug the second monitor the ARandR config I created stays the same, as if the second monitor was still plugged in. Is there a way to switch config when I unplug it?
Take a look here . it may be what you look for
" https://github.com/phillipberndt/autorandr "
EDit ( How to use ) is on page also (scroll down)
WOW! That’s exacly what I was looking for!
Thank you for the quick response! I’m loving EndeavourOs community!
I also use autorandr, this tool is great. I have a setup at home and at work, and at both places save my settings. Short version…
I use i3wm, my preferred options is to use autorandr:
autorandr --save screen1
autorandr --save screen2
Which save both configurations. You can then add the following to your config to load automatically
autorandr --change
If you are on logged in your session and want to swap lets say from screen 1 to 2 configuration you could open terminal and autorandr screen2
Edit: I switch frequently different monitor config between home and work. One thing I learned is to logout of the session t…