Display Switch is a bash script that automatically manages display settings based on the power status of your laptop. It switches between laptop-only and extended display modes when the power source changes between battery and AC.This was built out of need, as my monitor would turn off during a power cut and I had to switch displays manually or unplug the HDMI cable to view the laptop screen .