scripts

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

commit 49d7d9dc3d06e0c01fcc5c16e64c1a685ec40ff3
parent b6be3babdf028e95aa8995ad59467db424ebb1d1
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 21 Jun 2016 09:51:10 +0200

add tuneguitar; change autoup to xclip

Diffstat:
Mautoup | 6+++---
Atuneguitar | 8++++++++
2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/autoup b/autoup @@ -4,9 +4,9 @@ sshuser=parazyd sshkey="$HOME/.ssh/id_ed25519" server=pub.parazyd.cf webroot=/home/parazyd/public_html/pub -webdir=tmp +webdir=dev/random test -z "$1" && exit 1 || filename=$(basename $1) scp -i "$sshkey" "$1" "${sshuser}@${server}:${webroot}/${webdir}/${filename}" -echo "https://$server/$webdir/$filename" | xsel -i -#rm $1 +echo "https://$server/$webdir/$filename" | xclip -i +rm $1 diff --git a/tuneguitar b/tuneguitar @@ -0,0 +1,8 @@ +#!/bin/sh +# +# play standard EADGBE tuning +# depends: sox.sourceforge.net + +for n in E2 A2 D3 G3 B3 E4; do + play -n synth 4 pluck $n repeat 2 +done