File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "id" : " screen-shot-and-record" ,
33 "name" : " ScreenShot & Record" ,
4- "version" : " 1.0.3 " ,
4+ "version" : " 1.0.4 " ,
55 "minNoctaliaVersion" : " 3.6.0" ,
66 "author" : " Pulsar" ,
77 "license" : " GPL-3.0-or-later" ,
Original file line number Diff line number Diff line change @@ -20,9 +20,6 @@ RECORDING_DIR="$HOME/Videos"
2020getdate () {
2121 date ' +%Y-%m-%d_%H.%M.%S'
2222}
23- getaudiooutput () {
24- pactl list sources | grep ' Name' | grep ' monitor' | cut -d ' ' -f2
25- }
2623
2724# parse --region <value> without modifying $@ so other flags like --fullscreen still work
2825ARGS=(" $@ " )
134131 fi
135132 fi
136133 if [[ $SOUND_FLAG -eq 1 ]]; then
137- wf-recorder --pixel-format yuv420p -f ' ./recording_' " $( getdate) " ' .mp4' -t --geometry " $MANUAL_REGION " " ${FILTER_ARGS[@]} " --audio= " $( getaudiooutput ) "
134+ wf-recorder --pixel-format yuv420p -f ' ./recording_' " $( getdate) " ' .mp4' -t --geometry " $MANUAL_REGION " " ${FILTER_ARGS[@]} " --audio"
138135 else
139136 wf-recorder --pixel-format yuv420p -f './recording_'" $( getdate) " '.mp4' -t --geometry " $MANUAL_REGION " " ${FILTER_ARGS[@]} "
140137 fi
You can’t perform that action at this time.
0 commit comments