From e648c437574f6b732194da95bccaa6b519a79749 Mon Sep 17 00:00:00 2001 From: subh Date: Thu, 22 Jan 2026 22:45:43 +0530 Subject: added screen-recording script --- scripts/screen-record-stop.sh | 5 +++++ scripts/screen-record.sh | 8 ++++++++ 2 files changed, 13 insertions(+) create mode 100755 scripts/screen-record-stop.sh create mode 100755 scripts/screen-record.sh diff --git a/scripts/screen-record-stop.sh b/scripts/screen-record-stop.sh new file mode 100755 index 0000000..3eb1694 --- /dev/null +++ b/scripts/screen-record-stop.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +killall wf-recorder + +notify-send -u normal -i media-record "Recording Stopped" "Saving recording to: /home/subh/Videos/recordings/video.mkv" diff --git a/scripts/screen-record.sh b/scripts/screen-record.sh new file mode 100755 index 0000000..28026a7 --- /dev/null +++ b/scripts/screen-record.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +DISPLAY="$(hyprctl monitors | head -n 1 | cut -d ' ' -f 2)" + +notify-send -u normal -i video-display "Recording Screen" "Display: $DISPLAY" + +wf-recorder -Dyf ~/Videos/recordings/video.mkv + -- cgit v1.2.3