tadd tuneguitar; change autoup to xclip - scripts - random scripts
HTML git clone git://parazyd.org/scripts.git
DIR Log
DIR Files
DIR Refs
---
DIR commit 49d7d9dc3d06e0c01fcc5c16e64c1a685ec40ff3
DIR parent b6be3babdf028e95aa8995ad59467db424ebb1d1
HTML Author: parazyd <parazyd@dyne.org>
Date: Tue, 21 Jun 2016 09:51:10 +0200
add tuneguitar; change autoup to xclip
Diffstat:
M autoup | 6 +++---
A tuneguitar | 8 ++++++++
2 files changed, 11 insertions(+), 3 deletions(-)
---
DIR diff --git a/autoup b/autoup
t@@ -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
DIR diff --git a/tuneguitar b/tuneguitar
t@@ -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