diff options
| author | Leon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de> | 2020-12-07 01:34:12 +0100 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2021-04-20 18:27:03 +0200 |
| commit | 924a4707b73d275c71e44aac0e0a0cf37e4d7ea5 (patch) | |
| tree | 7ad7604e93f5e10cac3e6b62b8b56b93c9a9eaf3 /contrib/random-correct-layout.sh | |
| parent | d08032d6850d28063c0715aa54b1c18e0d0b966d (diff) | |
| download | river-924a4707b73d275c71e44aac0e0a0cf37e4d7ea5.tar.gz river-924a4707b73d275c71e44aac0e0a0cf37e4d7ea5.tar.xz | |
contrib: update layouts for river-layout and river-options
- Remove old layouts which no longer work.
- Add new C layout.
Diffstat (limited to 'contrib/random-correct-layout.sh')
| -rwxr-xr-x | contrib/random-correct-layout.sh | 16 |
1 files changed, 0 insertions, 16 deletions
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 - |
