diff options
Diffstat (limited to 'scripts/scripts/draw.sh')
-rwxr-xr-x | scripts/scripts/draw.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/scripts/scripts/draw.sh b/scripts/scripts/draw.sh deleted file mode 100755 index 8e34904..0000000 --- a/scripts/scripts/draw.sh +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #!/usr/bin/env bash | ||
2 | # Spawn terminals interactively | ||
3 | # Requires slop, urxvt | ||
4 | |||
5 | read -r X Y W H < <(slop -f "%x %y %w %h" -b 4 -c 0.8,0.8,0.8,0.8 -t 0 ) | ||
6 | (( W /= 14 )) | ||
7 | (( H /= 25 )) | ||
8 | |||
9 | g=${W}x${H}+${X}+${Y} | ||
10 | |||
11 | urxvtc -geometry $g | ||