summaryrefslogtreecommitdiff
path: root/scripts/screen-record.sh
blob: 19fdff9cca8230667f5c0c26ebabff1e04a0b1a1 (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 -Dyaf ~/Videos/recordings/video.mkv