From 89fa5263ceed849bdc7681b5cbd9c844bfd774be Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 5 May 2016 02:42:41 -0700 Subject: 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. --- .zshrc-linux-desktop | 12 ------------ 1 file changed, 12 deletions(-) (limited to '.zshrc-linux-desktop') 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 -- cgit v1.2.3