Initial commit

This commit is contained in:
end-4
2023-12-25 18:16:14 +07:00
commit 16b0d77075
174 changed files with 18893 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#/usr/bin/bash
cd /home/end/Videos
if [[ "$(pidof wf-recorder)" == "" ]]; then
notify-send "wf-recorder" "Starting recording" -a 'wf-recorder'
wf-recorder -f './recording_'"$(date '+%Y_%m_%_d..%H.%M')"'.mp4' -t --geometry "$(slurp)"
else
/usr/bin/kill --signal SIGINT wf-recorder
notify-send "wf-recorder" "Recording Stopped" -a 'wf-recorder'
fi