scripts

random scripts
git clone git://parazyd.org/scripts.git
Log | Files | Refs

commit f9a20549f30de972fa5a7522b00a5637f3ca05ee
parent ab3a109fc3296a1bee3d31773851f62cd58f9675
Author: parazyd <parazyd@dyne.org>
Date:   Wed,  7 Feb 2018 18:24:57 +0100

tweaks

Diffstat:
Mdillo | 1+
Mgopherholes | 6++++--
Mrecord | 4++--
3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/dillo b/dillo @@ -3,3 +3,4 @@ /usr/bin/dillo "$@" pgrep dpid && killall dpid +pgrep \.dpi$ | xargs kill diff --git a/gopherholes b/gopherholes @@ -1,5 +1,7 @@ #!/bin/sh -hole="$(cat ~/gopherholes | dmenu | awk '{print $1}')" -printf "gopher://%s" "${hole}" | plumb +hole="$(cat ~/gopherholes | dmenu -l 20 | awk '{print $1}')" + +[ -n "$hole" ] || exit 1 +printf "gopher://%s" "${hole}" | plumb diff --git a/record b/record @@ -5,8 +5,8 @@ PIDNAME=recorder FRAMERATE=25 -#RES=$(wattr wh `lsw -r` | tr \ x) -RES=1928x1080 +RES=$(wattr wh `lsw -r` | tr \ x) +#RES=1928x1080 usage() { echo "usage: $(basename $0) [-fk] <filename>" >&2