Remove obsolete stuff
This commit is contained in:
parent
376badc670
commit
a9c5fd211a
3 changed files with 0 additions and 46 deletions
13
bin/sway
13
bin/sway
|
@ -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 "$@"
|
|
@ -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"
|
11
bin/xplorer
11
bin/xplorer
|
@ -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
|
Loading…
Reference in a new issue