aboutsummaryrefslogtreecommitdiffstats
path: root/.config/init/funcs
diff options
context:
space:
mode:
authorshmibs <shmibs@gmail.com>2017-11-27 01:08:51 -0700
committershmibs <shmibs@gmail.com>2017-11-27 01:08:51 -0700
commitc688f7bce20158661f377e9679c3b2ce8b963fc6 (patch)
treecd0b66a81272918b7bb622c2b905d699ad058ab5 /.config/init/funcs
parent66b00763352ccbc4af59259472a39249dc4345d6 (diff)
parenta0f41b26800251aa05cbd042c8852ec8e212a95b (diff)
downloaddotfiles-c688f7bce20158661f377e9679c3b2ce8b963fc6.tar.gz
Merge branch 'master' of github.com:shmibs/dotfiles
Diffstat (limited to '.config/init/funcs')
-rwxr-xr-x.config/init/funcs/mpd-filetypes1
-rwxr-xr-x.config/init/funcs/scap2
2 files changed, 1 insertions, 2 deletions
diff --git a/.config/init/funcs/mpd-filetypes b/.config/init/funcs/mpd-filetypes
index 0bc93d2..3015676 100755
--- a/.config/init/funcs/mpd-filetypes
+++ b/.config/init/funcs/mpd-filetypes
@@ -5,7 +5,6 @@
local pattern
# if args exist, read them as file extensions in a pattern
-if
if [[ ! -z "$@" ]]; then
pattern=$(echo "$@" | sed -e 's/\s/|/g' -e 's/\(.*\)/(\1)/')
else
diff --git a/.config/init/funcs/scap b/.config/init/funcs/scap
index bf9c66d..85a083f 100755
--- a/.config/init/funcs/scap
+++ b/.config/init/funcs/scap
@@ -13,6 +13,6 @@ fi
echo 'recording...'
-ffmpeg -v panic -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 \
+ffmpeg -v panic -video_size 1920x1080 -framerate 20 -f x11grab -i :0.0 \
-f pulse -ac 2 -i default -af aresample=async=1 \
-c:v libx264 -q 0 -preset ultrafast '/tmp/cap.mp4'