summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/monitor
blob: 1a5741953215d8380d2ce26472978ba9668044e6 (plain)
1
2
3
4
5
#!/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