aboutsummaryrefslogtreecommitdiff
path: root/hypr/wf-recorder/record.sh
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-08-06 00:29:36 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-08-06 00:29:36 +0530
commit91a5f9790cfd4a98ee940633694fb512ecf24942 (patch)
treeb20bdd22e304234b6893e20d0ca5fbfd042f2184 /hypr/wf-recorder/record.sh
parentced774e19c36fb3b0b33a3846e7c9cf874b0c206 (diff)
i3 > hyprland & x11 > wayland
Diffstat (limited to 'hypr/wf-recorder/record.sh')
-rwxr-xr-xhypr/wf-recorder/record.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/hypr/wf-recorder/record.sh b/hypr/wf-recorder/record.sh
deleted file mode 100755
index c828fee..0000000
--- a/hypr/wf-recorder/record.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-# Check if a recording is already in progress
-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
-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 \
- --audio --audio-device alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__HDMI3__sink.monitor
-
-fi