diff --git a/bin/sway b/bin/sway deleted file mode 100755 index 891262c..0000000 --- a/bin/sway +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -IFS=$'\n\t' - -COMPOSE_KEY_FILE="$HOME/.compose_key" - -if [ -f "$COMPOSE_KEY_FILE" ]; then - COMPOSE_KEY=$(cat "$COMPOSE_KEY_FILE") - export XKB_DEFAULT_OPTIONS="compose:$COMPOSE_KEY" -fi - -/usr/bin/sway "$@" diff --git a/bin/vid2twitter b/bin/vid2twitter deleted file mode 100755 index 0a001bb..0000000 --- a/bin/vid2twitter +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -INPUT="$1" -OUTPUT="${INPUT%.*}.mp4" - -if [ $# -ne 1 ]; then - echo "Usage: vid2twitter [source_video_file]" >&2 - exit 1 -fi - -if [ -f "$OUTPUT" ]; then - echo -n "$OUTPUT: file exists, overwrite? (y|N) " - read -r overwrite - case "${overwrite,,}" in - "y" | "yes") ;; - *) - exit 0 - ;; - esac -fi - -ffmpeg -i "$INPUT" -vcodec libx264 -pix_fmt yuv420p -strict -2 -acodec aac "$OUTPUT" diff --git a/bin/xplorer b/bin/xplorer deleted file mode 100755 index 8ed2920..0000000 --- a/bin/xplorer +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail -IFS=$'\n\t' - -for name in 'pcmanfm' 'thunar'; do - if hash "$name" 2>/dev/null; then - "$name" - break - fi -done