diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-24 17:07:12 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-07-24 17:07:40 +0530 |
| commit | 4d4f5f6b1028ff65322a2a783dcf4363ea25389c (patch) | |
| tree | e020f751675e6dda76fdfc11a0801f0d46bd6aa6 /hypr/wf-recorder/record.sh | |
| parent | ec9e16502d94555f139c5045897e7f7faab08c47 (diff) | |
when you have when, why use a calender
and a keybind of hide the navbar, is it called a nav bar? idk, hide the
bar via keyboard ig
Diffstat (limited to 'hypr/wf-recorder/record.sh')
| -rwxr-xr-x | hypr/wf-recorder/record.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hypr/wf-recorder/record.sh b/hypr/wf-recorder/record.sh index 1c174d5..c828fee 100755 --- a/hypr/wf-recorder/record.sh +++ b/hypr/wf-recorder/record.sh @@ -4,10 +4,15 @@ if pgrep -x wf-recorder > /dev/null then # If recording, stop it - notify-send -h string:wf-recorder:record -t 1000 "Recording Stopped" && pkill wf-recorder + notify-send -h string:wf-recorder:record -t 1000 "Recording Stopped" + pkill wf-recorder else # If not recording, start it mkdir -p ~/Videos mkdir -p ~/Videos/Screencasts/ - notify-send -h string:wf-recorder:record -t 1000 "Recording Started" && wf-recorder -f ~/Videos/Screencasts/$(date '+%H%M%S-%d-%m-%Y').mp4 + notify-send -h string:wf-recorder:record -t 1000 "Recording Started" + wf-recorder \ + -f ~/Videos/Screencasts/$(date '+%H%M%S-%d-%m-%Y').mp4 \ + --audio --audio-device alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor + fi |
