summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2024-12-05 13:38:14 -0500
commit29b1c791f6e319cdab828cee5f491ca1c38e41d1 (patch)
treebe9d9d43d150f0b72f72e4e37cc43bde0e10b72e /.local/bin
parent5849e2ad7323f086bd6edf221b29e3f0b2b7cbd3 (diff)
Some New Configuration Tools
Diffstat (limited to '.local/bin')
-rw-r--r--.local/bin/.DS_Storebin6148 -> 0 bytes
-rwxr-xr-x.local/bin/47319
-rwxr-xr-x.local/bin/9t6
-rwxr-xr-x.local/bin/Turtle3
-rwxr-xr-x.local/bin/Turtle.jarbin36074 -> 0 bytes
-rwxr-xr-x.local/bin/a6
-rwxr-xr-x.local/bin/add2rss34
-rwxr-xr-x.local/bin/appify15
-rwxr-xr-x.local/bin/b22
-rwxr-xr-x.local/bin/cfetch3
-rw-r--r--.local/bin/cfetch.jarbin62049 -> 0 bytes
-rwxr-xr-x.local/bin/colortest20
-rwxr-xr-x.local/bin/connect3
-rwxr-xr-x.local/bin/cs7
-rwxr-xr-x.local/bin/days2finals.py23
-rwxr-xr-x.local/bin/dotfiles-config97
-rwxr-xr-x.local/bin/getUnicode12
-rwxr-xr-x.local/bin/internet10
-rwxr-xr-x.local/bin/ipfetch3
-rw-r--r--.local/bin/jar.tarbin172544 -> 0 bytes
-rwxr-xr-x.local/bin/jdm12
-rwxr-xr-x.local/bin/jed3
-rw-r--r--.local/bin/jed.jarbin4498 -> 0 bytes
-rwxr-xr-x.local/bin/keys10
-rwxr-xr-x.local/bin/lfub24
-rwxr-xr-x.local/bin/linkhandler26
-rwxr-xr-x.local/bin/mismatch11
-rwxr-xr-x.local/bin/mkwords5
-rwxr-xr-x.local/bin/money.py22
-rwxr-xr-x.local/bin/mr3
-rwxr-xr-x.local/bin/prompt3
-rwxr-xr-x.local/bin/rebootPrompt3
-rwxr-xr-x.local/bin/rotdir12
-rwxr-xr-x.local/bin/setWall6
-rwxr-xr-x.local/bin/shutdownPrompt3
-rwxr-xr-x.local/bin/tchan3
-rw-r--r--.local/bin/terminalChan.jarbin63645 -> 0 bytes
-rwxr-xr-x.local/bin/testPort6
-rwxr-xr-x.local/bin/theme14
-rwxr-xr-x.local/bin/tmux-sessionizer29
-rwxr-xr-x.local/bin/unix26
-rwxr-xr-x.local/bin/volume7
-rwxr-xr-x.local/bin/weather10
-rwxr-xr-x.local/bin/ytrss15
44 files changed, 0 insertions, 536 deletions
diff --git a/.local/bin/.DS_Store b/.local/bin/.DS_Store
deleted file mode 100644
index f2f4c44..0000000
--- a/.local/bin/.DS_Store
+++ /dev/null
Binary files differ
diff --git a/.local/bin/473 b/.local/bin/473
deleted file mode 100755
index 3025d01..0000000
--- a/.local/bin/473
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-NUMS="01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n"
-
-NUM="$(echo $NUMS | fzf)"
-
-SERVER="e5-cse-135-$NUM.cse.psu.edu"
-
-USER=$1
-
-if [[ -z $NUM ]]; then
- echo "Select a server number"
- exit
-elif [[ -z $USER ]]; then
- echo "Provide a user name"
- exit
-fi
-
-ssh -Y $USER@$SERVER
diff --git a/.local/bin/9t b/.local/bin/9t
deleted file mode 100755
index 865b4a5..0000000
--- a/.local/bin/9t
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-SHELL=$PLAN9/bin/rc
-font=/mnt/font/Menlo-Regular/15a/font
-fontsrv &
-9 9term -f $font
diff --git a/.local/bin/Turtle b/.local/bin/Turtle
deleted file mode 100755
index b4e0857..0000000
--- a/.local/bin/Turtle
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -jar $HOME/.local/bin/Turtle.jar
diff --git a/.local/bin/Turtle.jar b/.local/bin/Turtle.jar
deleted file mode 100755
index a10339d..0000000
--- a/.local/bin/Turtle.jar
+++ /dev/null
Binary files differ
diff --git a/.local/bin/a b/.local/bin/a
deleted file mode 100755
index df306a4..0000000
--- a/.local/bin/a
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-SHELL=$PLAN9/bin/rc
-font=/mnt/font/Menlo-Regular/15a/font
-9 fontsrv &
-9 acme -a -f $font $@ \ No newline at end of file
diff --git a/.local/bin/add2rss b/.local/bin/add2rss
deleted file mode 100755
index ab29362..0000000
--- a/.local/bin/add2rss
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-RSSFILE=~/.config/newsboat/urls
-
-if test -n "$1";
-then
- URL=$1
-elif test ! -t 0;
-then
- URL=$(cat < /dev/stdin)
-else
- URL=$(xclip -o clipboard)
- if test -n "$URL";
- then
- notify-send "add2rss: copied $URL from clipboard"
- else
- notify-send "add2rss: no input"
- exit
- fi
-fi
-
-if test -n "$2";
-then
- URL="$URL \"$2\""
-fi
-
-if test -n "$(grep $URL $RSSFILE)";
-then
- notify-send "add2rss: You already added this feed"
-else
- echo "$URL" >> $RSSFILE
- notify-send "add2rss: Added"
-fi
-
diff --git a/.local/bin/appify b/.local/bin/appify
deleted file mode 100755
index 90fa765..0000000
--- a/.local/bin/appify
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env bash
-
-APPNAME=${2:-$(basename "${1}" '.sh')};
-DIR="${APPNAME}.app/Contents/MacOS";
-
-if [ -a "${APPNAME}.app" ]; then
- echo "${PWD}/${APPNAME}.app already exists :(";
- exit 1;
-fi;
-
-mkdir -p "${DIR}";
-cp "${1}" "${DIR}/${APPNAME}";
-chmod +x "${DIR}/${APPNAME}";
-
-echo "${PWD}/$APPNAME.app";
diff --git a/.local/bin/b b/.local/bin/b
deleted file mode 100755
index 596b320..0000000
--- a/.local/bin/b
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env bash
-
-# Select `b` (or before it, or after) and assign Acme `addr` to selection
-echo addr=dot | 9p write acme/$winid/ctl
-
-# Mark the current line and change `addr` to it
-echo -n '__MARKER__' | 9p write acme/$winid/data
-echo -n '/^.*__MARKER__/' | 9p write acme/$winid/addr
-
-# Process the line
-line=$(9p read acme/$winid/data | sed 1q)
-indentation=$(echo "$line" | sed -E 's/^( *).*$/\1/')
-before_marker=$(echo "$line" | sed -E 's/b?__MARKER__.*$/{/')
-after_marker=$(echo "$line" | awk -F'__MARKER__' '{print $2}')
-[ "$after_marker" == "b" ] && after_marker=""
-
-# Compose the final block
-block="$before_marker"$'\n'"$indentation "$'\n'"$indentation}$after_marker"
-
-# Change `addr` one more time and replace original line with my block
-echo -n '/^.*__MARKER__.*\n?/' | 9p write acme/$winid/addr
-echo "$block" | 9p write acme/$winid/data \ No newline at end of file
diff --git a/.local/bin/cfetch b/.local/bin/cfetch
deleted file mode 100755
index 5e9b43b..0000000
--- a/.local/bin/cfetch
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -jar $HOME/.local/bin/cfetch.jar $@
diff --git a/.local/bin/cfetch.jar b/.local/bin/cfetch.jar
deleted file mode 100644
index d4e4063..0000000
--- a/.local/bin/cfetch.jar
+++ /dev/null
Binary files differ
diff --git a/.local/bin/colortest b/.local/bin/colortest
deleted file mode 100755
index f5b68f7..0000000
--- a/.local/bin/colortest
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-# https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
-
-T='gYw' # The test text
-
-echo -e "\n 40m 41m 42m 43m\
- 44m 45m 46m 47m";
-
-for FGs in ' m' ' 1m' ' 30m' '1;30m' ' 31m' '1;31m' ' 32m' \
- '1;32m' ' 33m' '1;33m' ' 34m' '1;34m' ' 35m' '1;35m' \
- ' 36m' '1;36m' ' 37m' '1;37m';
- do FG=${FGs// /}
- echo -en " $FGs \033[$FG $T "
- for BG in 40m 41m 42m 43m 44m 45m 46m 47m;
- do echo -en "$EINS \033[$FG\033[$BG $T \033[0m";
- done
- echo;
-done
-echo
diff --git a/.local/bin/connect b/.local/bin/connect
deleted file mode 100755
index abfcaf1..0000000
--- a/.local/bin/connect
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-ssh -Y jmm@jacobmcdonnell.com
diff --git a/.local/bin/cs b/.local/bin/cs
deleted file mode 100755
index f3090ba..0000000
--- a/.local/bin/cs
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-[ -z "$(echo $@ | grep "\-l")" ] && str="a-z A-Z" || [ -z "$(echo $@ | grep "\-u")" ] && str="A-Z a-z" || (echo "cs: missing operand" && exit)
-[ -z "$(echo $@ | sed 's/\-l//g;s/\-u//g')" ] && words=$(< /dev/stdin) || words="$(echo $@ | sed 's/\-l//g;s/\-u//g')"
-
-echo $words | tr $str
-
diff --git a/.local/bin/days2finals.py b/.local/bin/days2finals.py
deleted file mode 100755
index 2111af6..0000000
--- a/.local/bin/days2finals.py
+++ /dev/null
@@ -1,23 +0,0 @@
-import datetime
-now = datetime.datetime.now()
-
-finalsDate = datetime.datetime(2023, 5, 1, 0, 0, 0, 0)
-breakDate = datetime.datetime(2023, 3, 3, 15, 0, 0, 0)
-def getDays(date, name):
- daysLeft = date - now
-
- weeks = daysLeft.days // 7
- days = daysLeft.days % 7
- minutes = daysLeft.seconds // 60
- hours = minutes // 60
- minutes %= 60
-
- if (weeks < 0):
- return f"{name.upper()} WEEK"
- return f"{weeks} weeks {days} days and {hours} hours until {name} week"
-
-output = f"{getDays(finalsDate, 'finals')}"
-#output += f"{getDays(breakDate, 'break')}"
-
-
-print(output)
diff --git a/.local/bin/dotfiles-config b/.local/bin/dotfiles-config
deleted file mode 100755
index e2a4296..0000000
--- a/.local/bin/dotfiles-config
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-DOTFILESDIR=$HOME/Documents/projects/gitlab/dotfiles
-add(){
- cd $HOME
- declare -i count=1
- declare -i countForDia=1
- while [ "$count" -le "$(ls -A $HOME | wc -w)" ]
- do
- name[$countForDia]="$(ls -A $HOME | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} $(ls -A $HOME | sed "${count}q;d") off "
- count=$((count+1))
- countForDia=$((countForDia+1))
- done
- count=1
- while [ "$count" -le "$(ls -A $HOME/.config/ | wc -w)" ]
- do
- name[$countForDia]=".config/$(ls -A $HOME/.config/ | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} .config/$(ls -A $HOME/.config/ | sed "${count}q;d") off "
- countForDia=$((countForDia+1))
- count=$((count+1))
- done
- count=1
- while [ "$count" -le "$(ls -A $HOME/.local/share/ | wc -w)" ]
- do
- name[$countForDia]=".local/share/$(ls -A $HOME/.local/share/ | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} .local/share/$(ls -A $HOME/.local/share/ | sed "s/Paradox Interactive/ParadoxInteractive/g" | sed "${count}q;d") off "
- countForDia=$((countForDia+1))
- count=$((count+1))
- done
- name[$countForDia]=".local/bin/"
- forDialog[$countForDia]="${countForDia} .local/bin/ off"
- set -A files $(dialog --title "Dotfiles in the Home directory" --checklist "Select dotfiles:" 0 0 0 ${forDialog[*]} 3>&1 1>&2 2>&3 3>&-)
- cd $DOTFILESDIR
- count=0
- while [ "$count" -le "${#files[@]}" ]
- do
- [ -f ${name[${files[$count]}]} ] && cp $HOME/${name[${files[$count]}]} ${name[${files[$count]}]}
- [ -d ${name[${files[$count]}]} ] && cp -TR $HOME/${name[${files[$count]}]} ${name[${files[$count]}]}
- git add ${name[${files[$count]}]}
- count=$((count+1))
- done
- COMMITMSG=$(dialog --title "Commit Message" --inputbox "Message" 0 0 3>&1 1>&2 2>&3 3>&-)
- git commit -m "$COMMITMSG"
- git push
-}
-del(){
- cd $DOTFILESDIR
- declare -i count=1
- declare -i countForDia=1
- while [ "$count" -le "$(ls -A $DOTFILESDIR | wc -w)" ]
- do
- name[$countForDia]="$(ls -A $DOTFILESDIR | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} $(ls -A $DOTFILESDIR | sed "${count}q;d") off "
- count=$((count+1))
- countForDia=$((countForDia+1))
- done
- count=1
- while [ "$count" -le "$(ls -A $DOTFILESDIR/.config/ | wc -w)" ]
- do
- name[$countForDia]=".config/$(ls -A $DOTFILESDIR/.config/ | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} .config/$(ls -A $DOTFILESDIR/.config/ | sed "${count}q;d") off "
- countForDia=$((countForDia+1))
- count=$((count+1))
- done
- count=1
- while [ "$count" -le "$(ls -A $DOTFILESDIR/.local/share/ | wc -w)" ]
- do
- name[$countForDia]=".local/share/$(ls -A $DOTFILESDIR/.local/share/ | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} .local/share/$(ls -A $DOTFILESDIR/.local/share/ | sed "${count}q;d") off "
- countForDia=$((countForDia+1))
- count=$((count+1))
- done
- count=1
- while [ "$count" -le "$(ls -A $DOTFILESDIR/.local/bin/ | wc -w)" ]
- do
- name[$countForDia]=".local/bin/$(ls -A $DOTFILESDIR/.local/bin/ | sed "${count}q;d")"
- forDialog[$countForDia]="${countForDia} .local/bin/$(ls -A $DOTFILESDIR/.local/bin/ | sed "${count}q;d") off "
- countForDia=$((countForDia+1))
- count=$((count+1))
- done
- set -A files $(dialog --title "Dotfiles in the Dotfiles directory" --checklist "Select dotfiles:" 0 0 0 ${forDialog[*]} 3>&1 1>&2 2>&3 3>&-)
- count=0
- while [ "$count" -le "${#files[@]}" ]
- do
- git rm -r ${name[${files[$count]}]}
- echo ${name[${files[$count]}]}
- count=$((count+1))
- done
- COMMITMSG=$(dialog --title "Commit Message" --inputbox "Message" 0 0 3>&1 1>&2 2>&3 3>&-)
- git commit -m "$COMMITMSG"
- git push
-}
-mainMenu(){
- select=$(dialog --title "Dotfiles Script" --menu "Select an option:" 0 0 0 1 Add 2 Delete 3>&1 1>&2 2>&3 3>&-)
- ( [ $select = 1 ] && add ) || ( [ $select = 2 ] && del )
-}
-mainMenu
diff --git a/.local/bin/getUnicode b/.local/bin/getUnicode
deleted file mode 100755
index 13d7971..0000000
--- a/.local/bin/getUnicode
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-char=$(cut -d ';' -f1 ~/.local/share/unicode | dmenu -i -l 30 | sed "s/ .*//")
-
-[ -z "$char" ] && exit
-
-if [ -n "$1" ]; then
- xdotool type "$char"
-else
- echo "$char" | tr -d '\n' | xclip -selection clipboard
- notify-send "'$char' copied to clipboard." &
-fi
diff --git a/.local/bin/internet b/.local/bin/internet
deleted file mode 100755
index 942eefe..0000000
--- a/.local/bin/internet
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-[ "$(connmanctl services | grep "Wired" | awk -F' ' '{print $2}')" = "Wired" ] && CONNECTION="Wired" || CONNECTION="$(connmanctl services | grep '*' | awk -F' ' '{print $2}')"
-
-[ "$CONNECTION" = "Wired" ] && IP="$(ip address | grep eth0 | grep 192.168.)" || IP="$(ip address | grep wlo | grep 192.168. )"
-
-IP="${IP%/*}"
-IP="${IP##* }"
-
-echo $CONNECTION $IP
diff --git a/.local/bin/ipfetch b/.local/bin/ipfetch
deleted file mode 100755
index 05befda..0000000
--- a/.local/bin/ipfetch
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-curl https://icanhazip.com
diff --git a/.local/bin/jar.tar b/.local/bin/jar.tar
deleted file mode 100644
index b4df345..0000000
--- a/.local/bin/jar.tar
+++ /dev/null
Binary files differ
diff --git a/.local/bin/jdm b/.local/bin/jdm
deleted file mode 100755
index d035b6e..0000000
--- a/.local/bin/jdm
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-declare -i count=1 # used as a reference throughout the script
-for desktop in $XDG_DATA_HOME/xsessions/*.desktop # looks at all the desktop files in /usr/share/xsessions
-do
- name[$count]=$(grep "Name" $desktop | sed "s/Name=/$count /g") # grabs the name and adds it to an array
- program[$count]=$(grep "Exec" $desktop | sed "s/Exec=//g") # grabs the path of the executable and adds it to an array
- count=$((count+1))
-done
-name[$count]="$count TTY" # adds an option for TTY
-select=$(dialog --title "Jacob's Display Manager" --menu "Select a WM:" 0 0 0 ${name[*]} 3>&1 1>&2 2>&3 3>&-) # creates the menu box
-[ "$select" != "$count" ] && [ "$select" != "0" ] && export wm=${program[$select]} && startx # startx if TTY is not selected
-clear && cat /etc/motd # clears the ncurses prompt after executing and cat the message of the day file
diff --git a/.local/bin/jed b/.local/bin/jed
deleted file mode 100755
index bb39377..0000000
--- a/.local/bin/jed
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -jar /Users/jmm/.local/bin/jed.jar $@
diff --git a/.local/bin/jed.jar b/.local/bin/jed.jar
deleted file mode 100644
index ae90296..0000000
--- a/.local/bin/jed.jar
+++ /dev/null
Binary files differ
diff --git a/.local/bin/keys b/.local/bin/keys
deleted file mode 100755
index c525982..0000000
--- a/.local/bin/keys
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# This script is called on startup to remap keys.
-# Decrease key repeat delay to 300ms and increase key repeat rate to 50 per second.
-xset r rate 300 50
-# Map the caps lock key to super, and map the menu key to right super.
-setxkbmap -option caps:super,altwin:menu_win
-# When caps lock is pressed only once, treat it as escape.
-killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
-# Turn off caps lock if on since there is no longer a key for it.
-xset -q | grep -q "Caps Lock:\s*on" && xdotool key Caps_Lock
diff --git a/.local/bin/lfub b/.local/bin/lfub
deleted file mode 100755
index 9012f50..0000000
--- a/.local/bin/lfub
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# This is a wrapper script for lb that allows it to create image previews with
-# ueberzug. This works in concert with the lf configuration file and the
-# lf-cleaner script.
-
-set -e
-
-cleanup() {
- exec 3>&-
- rm "$FIFO_UEBERZUG"
-}
-
-if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
- lf "$@"
-else
- [ ! -d "$HOME/.cache/lf" ] && mkdir -p "$HOME/.cache/lf"
- export FIFO_UEBERZUG="$HOME/.cache/lf/ueberzug-$$"
- mkfifo "$FIFO_UEBERZUG"
- ueberzug layer -s <"$FIFO_UEBERZUG" -p json &
- exec 3>"$FIFO_UEBERZUG"
- trap cleanup HUP INT QUIT TERM PWR EXIT
- lf "$@" 3>&-
-fi
diff --git a/.local/bin/linkhandler b/.local/bin/linkhandler
deleted file mode 100755
index c13a462..0000000
--- a/.local/bin/linkhandler
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Feed script a url or file location.
-# If an image, it will view in sxiv,
-# if a video or gif, it will view in mpv
-# if a music file or pdf, it will download,
-# otherwise it opens link in browser.
-
-if [ -z "$1" ]; then
- url="$(xclip -o)"
-else
- url="$1"
-fi
-
-case "$url" in
- *mkv|*webm|*mp4|*youtube.com/watch*|*youtube.com/playlist*|*youtube.com/shorts*|*youtu.be*|*hooktube.com*|*bitchute.com*|*videos.lukesmith.xyz*|*odysee.com*)
- notify-send "linkhandler: launching $url in mpv" && setsid -f mpv -quiet "$url" >/dev/null 2>&1 ;;
- *png|*jpg|*jpe|*jpeg|*gif)
- curl -sL "$url" > "/tmp/$(echo "$url" | sed "s/.*\///;s/%20/ /g")" && sxiv -a "/tmp/$(echo "$url" | sed "s/.*\///;s/%20/ /g")" >/dev/null 2>&1 & ;;
- *pdf|*cbz|*cbr)
- curl -sL "$url" > "/tmp/$(echo "$url" | sed "s/.*\///;s/%20/ /g")" && zathura "/tmp/$(echo "$url" | sed "s/.*\///;s/%20/ /g")" >/dev/null 2>&1 & ;;
- *mp3|*flac|*opus|*mp3?source*)
- qndl "$url" 'curl -LO' >/dev/null 2>&1 ;;
- *)
- [ -f "$url" ] && setsid -f "$TERMINAL" -e "$EDITOR" "$url" >/dev/null 2>&1 || setsid -f "$BROWSER" "$url" >/dev/null 2>&1
-esac
diff --git a/.local/bin/mismatch b/.local/bin/mismatch
deleted file mode 100755
index 38776bc..0000000
--- a/.local/bin/mismatch
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-DICTFILE=/usr/share/dict/words
-
-[ -z $1 ] && words=$(< /dev/stdin) || words=$1
-
-for word in $words
-do
- [ -z "$(grep -i "\b$word\b" $DICTFILE)" ] && echo $word
-done
-
diff --git a/.local/bin/mkwords b/.local/bin/mkwords
deleted file mode 100755
index 91a751d..0000000
--- a/.local/bin/mkwords
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-[ -z "$1" ] && words="$(< /dev/stdin)" || words=$1
-echo $words | sed "s/ /\n/g"
-
diff --git a/.local/bin/money.py b/.local/bin/money.py
deleted file mode 100755
index 4a36437..0000000
--- a/.local/bin/money.py
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/local/bin/python3
-
-hours = int(input("Enter Hours Worked Per Week: "))
-wage = float(input("Enter Wage: "))
-tax = .13
-
-checking = (hours * 4) * wage
-checking -= checking * tax
-savings = checking / 2
-checking -= savings
-
-miles = 830
-mpg = float(input("Enter Gas Milage: "))
-gasPrice = float(input("Enter Gas Price: "))
-
-gas = (miles / mpg) * gasPrice
-
-expenses = gas + 10
-
-checking -= expenses
-
-print(f"${checking+savings:,.2f} left over total\n${checking:,.2f} left over for checking each month\n${savings:,.2f} left over for savings each month\nCost of gas: ${gas:,.2f}")
diff --git a/.local/bin/mr b/.local/bin/mr
deleted file mode 100755
index b3d7c48..0000000
--- a/.local/bin/mr
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-make run \ No newline at end of file
diff --git a/.local/bin/prompt b/.local/bin/prompt
deleted file mode 100755
index 5148d0a..0000000
--- a/.local/bin/prompt
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-[ "$(printf "No\nYes" | wofi -d -p "$1")" = "Yes" ] && $2
-
diff --git a/.local/bin/rebootPrompt b/.local/bin/rebootPrompt
deleted file mode 100755
index 4c3c361..0000000
--- a/.local/bin/rebootPrompt
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-prompt 'Reboot?' 'sudo reboot'
diff --git a/.local/bin/rotdir b/.local/bin/rotdir
deleted file mode 100755
index 86da6db..0000000
--- a/.local/bin/rotdir
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-# When I open an image from the file manager in sxiv (the image viewer), I want
-# to be able to press the next/previous keys to key through the rest of the
-# images in the same directory. This script "rotates" the content of a
-# directory based on the first chosen file, so that if I open the 15th image,
-# if I press next, it will go to the 16th etc. Autistic, I know, but this is
-# one of the reasons that sxiv is great for being able to read standard input.
-
-[ -z "$1" ] && echo "usage: rotdir regex 2>&1" && exit 1
-base="$(basename "$1")"
-ls "$PWD" | awk -v BASE="$base" 'BEGIN { lines = ""; m = 0; } { if ($0 == BASE) { m = 1; } } { if (!m) { if (lines) { lines = lines"\n"; } lines = lines""$0; } else { print $0; } } END { print lines; }'
diff --git a/.local/bin/setWall b/.local/bin/setWall
deleted file mode 100755
index 2e63a0a..0000000
--- a/.local/bin/setWall
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-[ -f "$1" ] && cp "$1" ~/.config/wall.png
-[ -d "$1" ] && cp "$(find "$1" -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" -type f | shuf -n 1)" ~/.config/wall.png
-xwallpaper --zoom ~/.config/wall.png
-
diff --git a/.local/bin/shutdownPrompt b/.local/bin/shutdownPrompt
deleted file mode 100755
index 1be046d..0000000
--- a/.local/bin/shutdownPrompt
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-prompt 'Shutdown?' 'sudo shutdown -h now'
diff --git a/.local/bin/tchan b/.local/bin/tchan
deleted file mode 100755
index a9b62d9..0000000
--- a/.local/bin/tchan
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -jar $HOME/.local/bin/terminalChan.jar $@
diff --git a/.local/bin/terminalChan.jar b/.local/bin/terminalChan.jar
deleted file mode 100644
index 23b9cc5..0000000
--- a/.local/bin/terminalChan.jar
+++ /dev/null
Binary files differ
diff --git a/.local/bin/testPort b/.local/bin/testPort
deleted file mode 100755
index 92e76d4..0000000
--- a/.local/bin/testPort
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-nc -vz $1 25565 ;
- nc -vz $1 80 ;
- nc -vz $1 443 ;
-nc -vz $1 22
diff --git a/.local/bin/theme b/.local/bin/theme
deleted file mode 100755
index c6f0c2c..0000000
--- a/.local/bin/theme
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/zsh
-# Switch to Solarized Dark if we are currently in dark mode
-if [[ "$(uname -s)" == "Darwin" ]]; then
- val=$(defaults read -g AppleInterfaceStyle 2>/dev/null)
- if [[ $val == "Dark" ]]; then
- osascript -e 'tell application "Terminal"
- set current settings of tabs of windows to settings set "PaperColor-dark" # Theme name
- end tell'
- else
- osascript -e 'tell application "Terminal"
- set current settings of tabs of windows to settings set "PaperColor-light" # Theme name
- end tell'
- fi
-fi
diff --git a/.local/bin/tmux-sessionizer b/.local/bin/tmux-sessionizer
deleted file mode 100755
index 3780e18..0000000
--- a/.local/bin/tmux-sessionizer
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/zsh
-
-# This script is stolen from The Primeagen
-# https://github.com/ThePrimeagen/.dotfiles/
-
-if [[ $# -eq 1 ]]; then
- selected=$1
-else
- selected=$(find ~/Documents/Projects ~ ~/.config ~/Documents/Projects/git ~/Documents/Projects/Experiments -mindepth 1 -maxdepth 1 -type d | fzf)
-fi
-
-if [[ -z $selected ]]; then
- exit 0
-fi
-
-selected_name=$(basename "$selected" | tr . _)
-tmux_running=$(pgrep tmux)
-
-if [[ -z $TMUX ]] && [[ -z $tmux_running ]]; then
- tmux new-session -s $selected_name -c $selected
- exit 0
-fi
-
-if ! tmux has-session -t=$selected_name 2> /dev/null; then
- tmux new-session -ds $selected_name -c $selected
-fi
-
-tmux switch-client -t $selected_name
-
diff --git a/.local/bin/unix b/.local/bin/unix
deleted file mode 100755
index a9fb96e..0000000
--- a/.local/bin/unix
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-#original artwork by http://www.sanderfocus.nl/#/portfolio/tech-heroes
-#converted to shell by #nixers @ irc.unix.chat
-
-cat << 'eof'
- ,_ ,_==▄▂
- , ▂▃▄▄▅▅▅▂▅¾. / /
- ▄▆<´ "»▓▓▓%\ / / / /
- ,▅7" ´>▓▓▓% / / > / >/%
- ▐¶▓ ,»▓▓¾´ /> %/%// / /
- ▓▃▅▅▅▃,,▄▅▅▅Æ\// ///>// />/ /
- V║«¼.;→ ║<«.,`=// />//%/% / /
- //╠<´ -²,)(▓~"-╝/¾/ %/>/ />
- / / / ▐% -./▄▃▄▅▐, /7//;//% / /
- / ////`▌▐ %zWv xX▓▇▌//&;% / /
- / / / %//%/¾½´▌▃▄▄▄▄▃▃▐¶\/& /
- </ /</%//`▓!%▓%╣[38;5;255;╣WY<Y)y&/`\
- / / %/%//</%//\i7; ╠N>)VY>7; \_ UNIX IS VERY SIMPLE IT JUST NEEDS A
- / /</ //<///<_/%\▓ V%W%£)XY _/%‾\_, GENIUS TO UNDERSTAND ITS SIMPLICITY
- / / //%/_,=--^/%/%%\¾%¶%%} /%%%%%%;\,
- %/< /_/ %%%%%;X%%\%%;, _/%%%;, \
- / / %%%%%%;, \%%l%%;// _/%;, dmr
- / %%%;, <;\-=-/ /
- ;, l
-eof
diff --git a/.local/bin/volume b/.local/bin/volume
deleted file mode 100755
index ba26561..0000000
--- a/.local/bin/volume
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-vol="$(pamixer --get-volume-human)"
-
-[ "$vol" == "muted" ] && label="🔇" || label="🔊 $vol"
-
-echo "$label"
diff --git a/.local/bin/weather b/.local/bin/weather
deleted file mode 100755
index 664b0b1..0000000
--- a/.local/bin/weather
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-getforecast() { ping -q -c 1 1.1.1.1 >/dev/null || exit 1
-curl -sf "wttr.in/Ocean+City" > "$HOME/.cache/weatherreport" || exit 1 ;}
-
-showweather() { printf "%s" "$(sed '16q;d' "$HOME/.cache/weatherreport" | grep -wo "[0-9]*%" | sort -n | sed -e '$!d' | sed -e "s/^/☔ /g" | tr -d '\n')"
-sed '13q;d' "$HOME/.cache/weatherreport" | grep -o "m\\(-+\\)*[0-9]\\+" | sort -n -t 'm' -k 2n | sed -e 1b -e '$!d' | tr '\n|m' ' ' | awk '{print " ❄",$1 "°","🌞",$2 "°"}' ;}
-
-[ "$(stat -c %y "$HOME/.cache/weatherreport" 2>/dev/null | cut -d' ' -f1)" != "$(date '+%Y-%m-%d')" ] && getforecast
-showweather
diff --git a/.local/bin/ytrss b/.local/bin/ytrss
deleted file mode 100755
index 8539b18..0000000
--- a/.local/bin/ytrss
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-if test -n "$1";
-then
- id=$1
-elif test ! -t 0;
-then
- id=$(cat < /dev/stdin)
-else
- echo "ytrss: No Input"
- exit
-fi
-
-echo "https://www.youtube.com/feeds/videos.xml?channel_id="$id
-