#!/bin/sh #A Script which detects displays connected and gives the outputs to connect to them xrandr -q | grep -w connected | awk '{print $1}' | dmenu -i -l 10 -p "Available Outputs:" | xargs -I {} xrandr --output {} --auto