Open avivace opened 4 years ago
You can attach a script to an acpi event using acpid. I have a script attached to a dock event on my thinkpad that reruns feh every time I disconnect or reconnect it to the dock.
Thanks @DuongTyler , didn't know about acpid. This is useful also for optimising the script printing some informations on the status bar via AwesomeWidgets (currently it's constatly polling data, triggering updates via events should be more cleaner).
feh
must be re-run every time another xrandr output is enabled. Find a way to do this automatically?