forked from Shinonome/dots-hyprland
Initial commit
This commit is contained in:
Executable
+10
@@ -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
|
||||
Reference in New Issue
Block a user