commit 99459e693902ee23451189d122af72aeb2abb652
parent 3aed162e6bd609d5a98352a220f2caeb7c98fd6e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 23 May 2020 22:51:16 +0200
Remove unused scripts
Diffstat:
3 files changed, 0 insertions(+), 58 deletions(-)
diff --git a/.local/bin/audiomixer b/.local/bin/audiomixer
@@ -1,11 +0,0 @@
-#!/bin/sh
-
-if type cmixer >/dev/null 2>&1; then
- cmixer
-elif type pulsemixer >/dev/null 2>&1; then
- pulsemixer
-elif type alsamixer >/dev/null 2>&1; then
- alsamixer
-else
- (>&2 echo "error: no audio mixer found")
-fi
diff --git a/.local/bin/board b/.local/bin/board
@@ -1,38 +0,0 @@
-#!/bin/sh
-
-board() {
- #dir="$HOME/iawriter/"
- dir="."
- format="-O"
-
- if [ $# -gt 0 ]; then
- if [ "$1" = "-h" ]; then
- echo "board: Open a progress board of markdown files."
- echo "usage: $0 [options] [target_directory]"
- echo "options:"
- printf "\\t-h show this info\n"
- printf "\\t-s open view as horizontal splits (if $EDITOR is vim)\n"
- printf "By default the {todo,progress,done}.md files are opened in "
- printf "the current directory. Optionally, a different directory "
- printf "is used if a 'target_directory' is specified.\n"
- exit 0
-
- elif [ "$1" = "-h" ]; then
- format="-o"
- if [ $# -gt 1 ]; then
- dir="$2"
- fi
- else
- dir="$1"
- fi
- fi
-
- if [ "$EDITOR" = "vim" ]; then
- vim +'windo normal G' -c "windo set tw=1000" "$format" \
- "$dir"/todo.md "$dir"/progress.md "$dir"/done.md
- else
- $EDITOR "$dir"/done.md "$dir"/progress.md "$dir"/todo.md
- fi
-}
-
-board "$@"
diff --git a/.local/bin/xcqr b/.local/bin/xcqr
@@ -1,9 +0,0 @@
-#!/bin/sh
-# Credit to Maddison Hellstrom (@b0o on Github)
-qrencode -o - -s 1 \
- "$(xclip -out -selection clipboard)" |
- feh --auto-zoom \
- --fullscreen \
- --force-aliasing \
- --image-bg white \
- -