summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2024-07-22 17:51:47 -0700
committerXiao Pan <xyz@flylightning.xyz>2024-07-22 17:51:47 -0700
commit33fdceba0bea632bf942f1dbcd815e2d0ff57f58 (patch)
treea119e9521e542685dad9cf710885634f1527f01e /sh
parent4092791363021598b3e00b9a5e00e27ea17fb51b (diff)
reco wait 1 second to remove notification
Diffstat (limited to 'sh')
-rwxr-xr-xsh/reco4
1 files changed, 3 insertions, 1 deletions
diff --git a/sh/reco b/sh/reco
index 52d41bd..054579e 100755
--- a/sh/reco
+++ b/sh/reco
@@ -19,7 +19,9 @@ if [ -e "$infofile" ]; then
rm "$tmpfile" "$infofile"
else
tmpfile="$tmpdir/$(time-uuid).mkv"
- notify-send 'prepare recording'
+ notify-send 'start recording after 1 second'
+ sleep 1
+ dunstctl close
# arch wiki way, no audio, less cpu use during capturing (fast?), large file size, need convert afterward
case "$1" in
# fullscreen