summaryrefslogtreecommitdiffstats
path: root/.scripts/screencast
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/screencast')
-rwxr-xr-x.scripts/screencast4
1 files changed, 3 insertions, 1 deletions
diff --git a/.scripts/screencast b/.scripts/screencast
index cd37ab9..fd09ca0 100755
--- a/.scripts/screencast
+++ b/.scripts/screencast
@@ -33,4 +33,6 @@ ffmpeg -y \
-c:v libx264 -r 30 -c:a flac $filename ;}
-if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi
+if [[ $(pgrep -x pulseaudio) ]]; then record_pulse; else record_alsa; fi &
+# Updating i3blocks recording icon:
+echo ⏺️ > ~/.scripts/.recording && pkill -RTMIN+9 i3blocks