From 924a4707b73d275c71e44aac0e0a0cf37e4d7ea5 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Mon, 7 Dec 2020 01:34:12 +0100 Subject: contrib: update layouts for river-layout and river-options - Remove old layouts which no longer work. - Add new C layout. --- contrib/random-correct-layout.sh | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 contrib/random-correct-layout.sh (limited to 'contrib/random-correct-layout.sh') diff --git a/contrib/random-correct-layout.sh b/contrib/random-correct-layout.sh deleted file mode 100755 index cf663a1..0000000 --- a/contrib/random-correct-layout.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -# Randomized Layout for debug purposes. - -CLIENTS="$1" -OUTPUT_WIDTH="$4" -OUTPUT_HEIGHT="$5" - -for _ in $(seq 1 "$CLIENTS") -do - WIDTH="$(( ( OUTPUT_WIDTH / 5 ) ))" - HEIGHT="$(( ( OUTPUT_HEIGHT / 5 ) ))" - X="$(( ( RANDOM % ( OUTPUT_WIDTH - WIDTH ) ) + 1 ))" - Y="$(( ( RANDOM % ( OUTPUT_HEIGHT - HEIGHT ) ) + 1 ))" - echo "$X $Y $WIDTH $HEIGHT" -done - -- cgit v1.2.3