From 5f3aac2c68588663eb7db6ab623604a009f9f802 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Tue, 9 Jul 2019 14:41:06 -0400 Subject: [PATCH] update scripts --- bin/cpu-freqs.sh | 5 ----- bin/kitty.completion.bash | 15 --------------- bin/make-m4b.sh | 2 -- bin/umask.setup.bash | 1 + bin/weasel-pageant.bash | 2 ++ 5 files changed, 3 insertions(+), 22 deletions(-) delete mode 100755 bin/cpu-freqs.sh delete mode 100644 bin/kitty.completion.bash delete mode 100755 bin/make-m4b.sh create mode 100644 bin/umask.setup.bash create mode 100644 bin/weasel-pageant.bash diff --git a/bin/cpu-freqs.sh b/bin/cpu-freqs.sh deleted file mode 100755 index 00dbfb3..0000000 --- a/bin/cpu-freqs.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -for i in 0 1 2 3 4 5 6 7 ; do - echo -n "cpu${i} " && cat /sys/devices/system/cpu/cpu${i}/cpufreq/scaling_cur_freq -done diff --git a/bin/kitty.completion.bash b/bin/kitty.completion.bash deleted file mode 100644 index 905cfe4..0000000 --- a/bin/kitty.completion.bash +++ /dev/null @@ -1,15 +0,0 @@ - -_kitty_completions() { - local src - local limit - # Send all words up to the word the cursor is currently on - let limit=1+$COMP_CWORD - src=$(printf "%s -" "${COMP_WORDS[@]: 0:$limit}" | kitty +complete bash) - if [[ $? == 0 ]]; then - eval ${src} - fi -} - -complete -o nospace -F _kitty_completions kitty - diff --git a/bin/make-m4b.sh b/bin/make-m4b.sh deleted file mode 100755 index 7cdd7b3..0000000 --- a/bin/make-m4b.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -ffmpeg -i "concat:$(ls -1 *.mp3 | paste -sd "|" -)" -c:a aac -b:a 64k -f mp4 o.mp4 diff --git a/bin/umask.setup.bash b/bin/umask.setup.bash new file mode 100644 index 0000000..8e71ad5 --- /dev/null +++ b/bin/umask.setup.bash @@ -0,0 +1 @@ +umask 022 diff --git a/bin/weasel-pageant.bash b/bin/weasel-pageant.bash new file mode 100644 index 0000000..faa7edb --- /dev/null +++ b/bin/weasel-pageant.bash @@ -0,0 +1,2 @@ +#!/bin/bash +eval $(~/winhome/Downloads/weasel-pageant-1.3/weasel-pageant -r)