diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-09-08 21:52:11 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-09-08 21:52:11 -0400 |
| commit | c5029f934a3fad94ef2d03d3ce62ad98b5e596e0 (patch) | |
| tree | 3b2a3856a3f69bb62ed408a6cd75fe172f8b7a8c /.scripts/killrecording | |
| parent | 5be1f8beca5dbeccd5f638f0282d27dc0dd5e40d (diff) | |
| download | eibhear-c5029f934a3fad94ef2d03d3ce62ad98b5e596e0.tar.gz eibhear-c5029f934a3fad94ef2d03d3ce62ad98b5e596e0.tar.zst eibhear-c5029f934a3fad94ef2d03d3ce62ad98b5e596e0.zip | |
belated update of `killrecording`
Diffstat (limited to '.scripts/killrecording')
| -rwxr-xr-x | .scripts/killrecording | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.scripts/killrecording b/.scripts/killrecording index b7c9827..ed86bfa 100755 --- a/.scripts/killrecording +++ b/.scripts/killrecording @@ -1,9 +1,7 @@ -#!/bin/bash -# I'm not quite sure why, but a new non-recording instance of ffmpeg will start after -# being killed the first time, so the core command here runs twice after a break. -pkill -P $(pgrep -x screencast\|audio\|video) 2>/dev/null && sleep .5 && -pkill -P $(pgrep -x screencast\|audio\|video) 2>/dev/null +#!/bin/sh + +killall -e screencast audio video # Update i3bar. -echo "" > ~/.scripts/.recording +echo "" > ~/.recordingicon pkill -RTMIN+9 i3blocks |
