I want to modify my conky placement depending on whether I'm working with my laptop in my lap (one screen) or have it at my desk attached to a larger monitor (dual display).
The problem is that I want it to appear on the bottom left of my laptop screen no matter what. But with my dual display setup, the "bottom left" happens to be on my external monitor.
It seems like there are two solutions:
Add an if/else statement to the script I use to launch conky (conky.sh) that launches a different config file depending on my display arrangement.
Add an if/else statement to my conky config that sets either the alignment or an indentation value depending on the display arrangement.
(And yes, I realize that at least the shell version only works if I've got things plugged/unplugged when I launch conky. I can live with that.
But ... I don't even know how to detect a dual display or a second monitor in bash or conky.