belated update of killrecording
This commit is contained in:
parent
5be1f8beca
commit
c5029f934a
1 changed files with 4 additions and 6 deletions
|
@ -1,9 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
# 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.
|
killall -e screencast audio video
|
||||||
pkill -P $(pgrep -x screencast\|audio\|video) 2>/dev/null && sleep .5 &&
|
|
||||||
pkill -P $(pgrep -x screencast\|audio\|video) 2>/dev/null
|
|
||||||
|
|
||||||
# Update i3bar.
|
# Update i3bar.
|
||||||
echo "" > ~/.scripts/.recording
|
echo "" > ~/.recordingicon
|
||||||
pkill -RTMIN+9 i3blocks
|
pkill -RTMIN+9 i3blocks
|
||||||
|
|
Loading…
Reference in a new issue