aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2016-05-05 02:42:41 -0700
committerkatherine <shmibs@shmibbles.me>2016-05-05 02:42:41 -0700
commit89fa5263ceed849bdc7681b5cbd9c844bfd774be (patch)
treeef5df741838067459ada8537d90bbe419707d41e
parentd126ad463cf46ab1d8850cd671c044f11c2c980c (diff)
downloaddotfiles-89fa5263ceed849bdc7681b5cbd9c844bfd774be.tar.gz
add fzf wrapper
as pretty as this little function is, shouldn't be stuck in a .zshrc. adding more and more things like this will slow stuff down, and it's a mess for portability too, with the whole .zshrc-linux .zshrc-freebsd .zshrc-linux-desktop thing going on. instead, going to move all these things to .config/init/funcs and add a system which is called from .zprofile (and should move .config/init/init.sh to being run there and .config/init/vars to being sourced there too.). this system should check prereqs for each func and load only when they're satisfied.
-rw-r--r--.zshrc-linux-desktop12
1 files changed, 0 insertions, 12 deletions
diff --git a/.zshrc-linux-desktop b/.zshrc-linux-desktop
index 261a2fd..c9e8429 100644
--- a/.zshrc-linux-desktop
+++ b/.zshrc-linux-desktop
@@ -111,18 +111,6 @@ mpd-filetypes() {
echo "┘"
}
-# capture webm
-scap() {
- archey3
- sleep .1
- if [[ -f '/tmp/out.webm' ]]; then
- rm /tmp/out.webm
- fi
- echo 'recording...'
- ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 \
- -c:v libvpx -b:v 4M -threads 4 /tmp/out.webm > /dev/null 2>&1
-}
-
# take a screenshot, upload to /img/scrot, and update current symlink
ssh-scrot() {
archey3