summaryrefslogtreecommitdiff
path: root/scripts/screen-record.sh
blob: 389ce84bad0c99165808c4940db32746676531c7 (plain)
1
2
3
4
5
6
7
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 -a -Dyf ~/Videos/recordings/video.mp4