diff --git a/proj b/proj index c614bc5..3670d5c 100755 --- a/proj +++ b/proj @@ -8,6 +8,7 @@ then # Grab the display device out=`xrandr | grep ' connected' | awk '{print $1}' | \ dmenu -i -p 'Device to attach'` + echo $out if [ -z "$out" ]; then exit 0; fi # what side should it go on @@ -16,7 +17,7 @@ then if [ -z "$side" ]; then exit 0; fi echo "xrandr --output $out --auto $side eDP-1" - xrandr --output $out --auto --$side DVI-I-1 + xrandr --output $out --auto --$side eDP1 #DVI-I-1 else # Get the display we want to remove out=`xrandr | grep ' connected' | awk '{print $1}' | \