From 0e349dbcccf7070c22fbdd384a0ed3c5d16397f7 Mon Sep 17 00:00:00 2001 From: vas-dav Date: Fri, 15 Mar 2024 23:00:32 +0200 Subject: [PATCH] xrandr: dsiplay connected monitors on help --- xrandr/toggle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xrandr/toggle b/xrandr/toggle index 774a01e..5362dbf 100755 --- a/xrandr/toggle +++ b/xrandr/toggle @@ -3,6 +3,8 @@ # Check if both monitor names are provided as arguments if [ "$#" -ne 2 ]; then echo "Usage: $0 " + echo "Connected monitors:" + xrandr | grep " connected" | awk '{print $1}' exit 1 fi