diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2024-07-22 17:51:47 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2024-07-22 17:51:47 -0700 |
commit | 33fdceba0bea632bf942f1dbcd815e2d0ff57f58 (patch) | |
tree | a119e9521e542685dad9cf710885634f1527f01e /sh/reco | |
parent | 4092791363021598b3e00b9a5e00e27ea17fb51b (diff) |
reco wait 1 second to remove notification
Diffstat (limited to 'sh/reco')
-rwxr-xr-x | sh/reco | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |