diff --git a/examples/stty-resize-copy b/examples/stty-resize-copy index 58f37ed..cd0fd06 100755 --- a/examples/stty-resize-copy +++ b/examples/stty-resize-copy @@ -5,5 +5,5 @@ columns=$(stty -a < /dev/stdin | grep -oE 'columns [0-9]+' | cut -d' ' -f2) rows=$(stty -a < /dev/stdin | grep -oE 'rows [0-9]+' | cut -d' ' -f2) -notify-send "Terminal dimensions" "Rows: $rows\nColumns: $columns\nstty command on clipboard" +type notify-send > /dev/null 2>&1 && notify-send "Terminal dimensions" "Rows: $rows\nColumns: $columns\nstty command on clipboard" echo "stty rows $rows cols $columns" | xclip -i -selection clipboard