1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

screen-record: added hotkeys and scripts

This commit is contained in:
2023-01-11 01:17:57 +01:00
parent 6e5fcdec64
commit 0d221f7db0
6 changed files with 38 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/sh
window=$(xdotool getwindowfocus)
fps=30
audio="$(pactl get-default-sink).monitor"
format="mp4"
lenght=20
output="$HOME/downloads"
gpu-screen-recorder -w $window -f $fps -a $audio -c $format -r $lenght -o $output
notify-send 'Screen record' 'Replay started'