tmove more to obsolete - scripts - random scripts (HTM) git clone git://parazyd.org/scripts.git (DIR) Log (DIR) Files (DIR) Refs --- (DIR) commit dce50335c8589dd119f5b5aa2b3b979a2aa2252e (DIR) parent 34a80fdbe1dd124ee729823b6301cb2fda4dff5f (HTM) Author: parazyd <parazyd@dyne.org> Date: Wed, 22 Feb 2017 17:41:14 +0100 move more to obsolete Diffstat: M autoup | 2 +- M dmenupass | 2 +- M dmenuraise | 2 -- R img -> obsolete/img | 0 R ix -> obsolete/ix | 0 M ys | 3 ++- 6 files changed, 4 insertions(+), 5 deletions(-) --- (DIR) diff --git a/autoup b/autoup t@@ -12,7 +12,7 @@ test "$1" = -n && { } test -z "$1" && exit 1 || filename=$(basename $1) -scp -i "$sshkey" "$1" "${sshuser}@${server}:${webroot}/${webdir}/${filename}" +scp -i "$sshkey" "$1" "${sshuser}@${server}:${webroot}/${webdir}/${filename}" || exit 1 echo "https://$server/$webdir/$filename" | xclip -i echo "https://$server/$webdir/$filename" #rm $1 (DIR) diff --git a/dmenupass b/dmenupass t@@ -4,7 +4,7 @@ prefix="${PASSWORD_STORE_DIR:-$HOME/.password-store}" password="$(\ printf %s\\n $prefix/**/*.gpg \ - | sed -e 's/.gpg$//' -e 's@'$prefix'/@@' \ + | sed -e "s/.gpg$//" -e "s@$prefix/@@" \ | dmenu -i -l 15 -p 'pass:' -sb '#d7ff00' -sf '#000000' "$@")" [ -n "$password" ] || exit 1 (DIR) diff --git a/dmenuraise b/dmenuraise t@@ -7,7 +7,6 @@ normfg="#939393" normbg="#000000" selbg="#800000" selfg="#ffffff" -font="Terminus:size=9:antialias=true:autohint=true" height=$(wmctrl -l | wc -l) if [ $height -gt 30 ]; then t@@ -22,7 +21,6 @@ num=$(wmctrl -l \ | nl -w 3 -n rn \ | sed -r 's/^([ 0-9]+)[ \t]*(.*)$/\1 - \2/' \ | dmenu -i \ - -fn $font \ -nb $normbg \ -nf $normfg \ -sb $selbg \ (DIR) diff --git a/img b/obsolete/img (DIR) diff --git a/ix b/obsolete/ix (DIR) diff --git a/ys b/ys t@@ -10,7 +10,8 @@ search() { sstr="" if [ ${#} -ne 1 ]; then for arg in $@; do - sstr=$sstr"$arg|" + sstr=$sstr"$arg+" + #sstr=$sstr"$arg|" done else sstr=$1