diff --git a/Makefile b/Makefile index 49e39df..6aea880 100644 --- a/Makefile +++ b/Makefile @@ -10,19 +10,12 @@ man: sh: mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f sh/paste $(DESTDIR)$(PREFIX)/bin - cp -f sh/bat $(DESTDIR)$(PREFIX)/bin cp -f sh/disp $(DESTDIR)$(PREFIX)/bin cp -f sh/wallpaper $(DESTDIR)$(PREFIX)/bin cp -f sh/yt $(DESTDIR)$(PREFIX)/bin cp -f sh/connect $(DESTDIR)$(PREFIX)/bin cp -f sh/nws $(DESTDIR)$(PREFIX)/bin - cp -f sh/pashmenu $(DESTDIR)$(PREFIX)/bin - cp -f sh/urlhandle $(DESTDIR)$(PREFIX)/bin - cp -f sh/ftphandle $(DESTDIR)$(PREFIX)/bin - cp -f sh/indicate $(DESTDIR)$(PREFIX)/bin cp -f sh/vol $(DESTDIR)$(PREFIX)/bin - cp -f sh/josm_launch $(DESTDIR)$(PREFIX)/bin - cp -f sh/start $(DESTDIR)$(PREFIX)/bin cp -f sh/proxtest $(DESTDIR)$(PREFIX)/bin cp -f sh/pco $(DESTDIR)$(PREFIX)/bin cp -f sh/git-survey $(DESTDIR)$(PREFIX)/bin @@ -40,6 +33,7 @@ c: cp -f c/boid $(DESTDIR)$(PREFIX)/bin cp -f c/anaconda $(DESTDIR)$(PREFIX)/bin cp -f c/simplestatus $(DESTDIR)$(PREFIX)/bin + clean: rm c/scream rm c/timer diff --git a/sh/bat b/sh/bat deleted file mode 100755 index 88788aa..0000000 --- a/sh/bat +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -cat /sys/class/power_supply/BAT?/capacity diff --git a/sh/ftphandle b/sh/ftphandle deleted file mode 100755 index b541c40..0000000 --- a/sh/ftphandle +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# This one is relatively simple. Relay the first argument to -# ncftp and then you're done. - -st -e ncftp $1 diff --git a/sh/indicate b/sh/indicate deleted file mode 100755 index 31c30e3..0000000 --- a/sh/indicate +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -i=$(date '+%H:%M:%S %m/%d (%h)') -j=$(bat) -k=$(vol) -printf "%s | %s | %s\n" "$i" "$j" "$k" | nenu diff --git a/sh/josm_launch b/sh/josm_launch deleted file mode 100755 index c333857..0000000 --- a/sh/josm_launch +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -wmname LG3D -export _JAVA_AWT_WM_NONREPARENTING=1 - -josm diff --git a/sh/pashmenu b/sh/pashmenu deleted file mode 100755 index f6a1ce6..0000000 --- a/sh/pashmenu +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -# this is pashmenu. this program will only work if gpg's -# gui password dialog is enabled. i'm not why it's enabled, -# but it's required for this to work. - -choice=$(pash l | nenu) -pash c $choice diff --git a/sh/start b/sh/start deleted file mode 100755 index 48f86a5..0000000 --- a/sh/start +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -sudo connect c && sx diff --git a/sh/urlhandle b/sh/urlhandle deleted file mode 100755 index b8a3658..0000000 --- a/sh/urlhandle +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# access gemini and gopher urls within vimb with vulpes proxy - -# yes, this will result in urls like -# 'proto://host.tld/page?q="://" becoming -# 'proto/host.tld/page?q="/" -stripped_url=`printf "%s" $1 | sed 's|://|/|g'` - -# use xdotool to type the correct commands into the vimb -# window, assuming that the window is currently focused (which -# happens most of the time) -xdotool key Escape -xdotool key Escape -xdotool type "ohttp://proxy.vulpes.one/${stripped_url}" -xdotool key Return - -exit 0 diff --git a/sh/xkcd b/sh/xkcd deleted file mode 100755 index dc8179c..0000000 --- a/sh/xkcd +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/sh - -[ -z $XKCD_DBG ] || set -x -err () { - printf "err: %s\n" ${1} - [ -z "${2}" ] && exit 1 - exit ${2} -} -getImageForComic() { - [ -z ${1} ] && a="" || a="$1/" - curl --silent https://xkcd.com/${a} | grep 'imgs.xkcd.com/comics/' | sed 1q | grep -o 'https://imgs\.xkcd\.com/comics/.*\....' -} -viewImage() { - a=$(mktemp) - curl --silent $(getImageForComic ${1}) -o $a - feh $a -} -proghelp() { - printf "\ -xkcd - view xkcd comics - -=> [v]iew [id] - View comic with id [id] -=> [g]et [id] - Get url for comic [id] -" -} -case $1 in - 'v'*) - viewImage $2 - exit 0 - ;; - 'g'*) - getImageForComic $2 - exit 0 - ;; - *) - proghelp - exit 0 - ;; -esac -exit 0