summaryrefslogtreecommitdiff
path: root/scripts/screen-record.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/screen-record.sh')
-rwxr-xr-xscripts/screen-record.sh8
1 files changed, 8 insertions, 0 deletions
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
+