diff --git a/bin/deezer b/bin/deezer deleted file mode 100755 index 317f3c0..0000000 --- a/bin/deezer +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -exec xargs /usr/bin/deezer \ - "$@" \ - < ~/.config/electron13-flags.conf - diff --git a/bin/freetube b/bin/freetube deleted file mode 120000 index 816f647..0000000 --- a/bin/freetube +++ /dev/null @@ -1 +0,0 @@ -waylectron \ No newline at end of file diff --git a/bin/heroic b/bin/heroic deleted file mode 120000 index 816f647..0000000 --- a/bin/heroic +++ /dev/null @@ -1 +0,0 @@ -waylectron \ No newline at end of file diff --git a/bin/instvnc b/bin/instvnc deleted file mode 100755 index 9c1a774..0000000 --- a/bin/instvnc +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -e - -display="$(grep "$LOGNAME" /etc/tigervnc/vncserver.users | head -n 1 | awk -F '=' '{ print $1 }')" -echo "Using display: $display" -test -n "$display" - -set -x -cd -exec \ - screen \ - -d \ - -m \ - vncserver \ - "$display" - diff --git a/bin/makeprio b/bin/makeprio deleted file mode 100755 index f7c63b0..0000000 --- a/bin/makeprio +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -e - -pid="$(pidof "$1")" -shift -prio="${1:--22}" - -sudo renice "$prio" "$pid" - diff --git a/bin/miam b/bin/miam deleted file mode 100755 index cc6d2e0..0000000 --- a/bin/miam +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -# Functions -# Throw -function throw { - >&2 echo "$1" - exit "$2" -} - -# Throw a value -function throw-value { - throw "Invalid value for \"$1\": \"$2\"" "$3" -} - -# Variables -selection_mode="$1" -saving_mode="$2" -screenshot_d="/tmp" -_command=() - -# Command building -_command+=("maim") -case "$selection_mode" in - "full") - : - ;; - "area") - _command+=("-s") - ;; - *) - throw-value "selection mode" "$selection_mode" 1 - ;; -esac -case "$saving_mode" in - "clip") - _command+=("|") - _command+=("xclip" "-selection" "clipboard" "-t" "image/png") - ;; - "file") - _command+=(">" "${screenshot_d}/$(printf '%s-screenshot-%s.png' "$LOGNAME" "$(date +'%Y_%m_%d_%s')")") - ;; - *) - throw-value "saving mode" "$saving_mode" 2 - ;; -esac - -# Debug -#echo "${_command[@]}" -#exit 0 - -# Execution -"${_command[@]}" -