diff --git a/src/.local/bin/mpva b/src/.local/bin/mpva deleted file mode 100755 index 149c92d..0000000 --- a/src/.local/bin/mpva +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -# Run mpv on the output files of minrss - -mpvs $(extractlink.sh "$@") diff --git a/src/.local/bin/mpvs b/src/.local/bin/mpvs deleted file mode 100755 index f52d69a..0000000 --- a/src/.local/bin/mpvs +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# Custom mpv settings - -# passed to yt-dl -FORMAT="bestvideo[height<=?1080]+bestaudio/best" - -mpv \ ---ytdl-format="$FORMAT" \ -$@ diff --git a/src/.local/bin/sedi b/src/.local/bin/sedi deleted file mode 100755 index 0e1c8d4..0000000 --- a/src/.local/bin/sedi +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -# Edit a file that requires superuser permissions without running the editor as root -# Substitute for sudo -e that uses doas instead. - -set -e - -if [ -z $1 ] -then - exit -fi - -DNAME=$(mktemp -d) -FNAME=$(basename $1) -FPATH="$DNAME/$FNAME" - -if [ -e $1 ] -then - cp "$1" "$FPATH" -else - touch "$FPATH" -fi - -$EDITOR "$FPATH" - -DIFF="" - -if [ ! -e $FPATH ] -then - exit -fi - -if [ -e $1 ] -then - DIFF=$(diff "$FPATH" "$1") -else - DIFF=$(cat "$FPATH") -fi - -if [ -n "$DIFF" ] -then - doas cp "$FPATH" "$1" -fi - -rm "$FPATH" -rmdir $DNAME diff --git a/src/.local/bin/wipekey b/src/.local/bin/wipekey deleted file mode 100755 index c79caaf..0000000 --- a/src/.local/bin/wipekey +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -gpg --batch --yes --delete-secret-keys A3A5FA72F8E5E54FBEE425057225FE3592EFFA38