diff options
author | katherine <shmibs@airen-no-jikken.icu> | 2018-12-19 17:35:39 -0700 |
---|---|---|
committer | katherine <shmibs@airen-no-jikken.icu> | 2018-12-19 17:35:39 -0700 |
commit | db947a1f555eab19b87cd540c831d1fc30310025 (patch) | |
tree | 5092b1757671aa384b02625f0e6dc48804b687d9 /.config/init/funcs/scap | |
parent | 5b7c0ef6b8d064685713e76143d89669b0d08f7d (diff) | |
download | dotfiles-db947a1f555eab19b87cd540c831d1fc30310025.tar.gz |
add fancy new functions, with shared helpers
Diffstat (limited to '.config/init/funcs/scap')
-rwxr-xr-x | .config/init/funcs/scap | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/init/funcs/scap b/.config/init/funcs/scap index 85a083f..f87eb93 100755 --- a/.config/init/funcs/scap +++ b/.config/init/funcs/scap @@ -7,8 +7,8 @@ xset q archey3 sleep .2 -if [[ -f '/tmp/cap.mp4' ]]; then - rm '/tmp/cap.mp4' +if [[ -e '/tmp/cap.mp4' ]]; then + rm '/tmp/cap.mp4' || return 1 fi echo 'recording...' |