dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e59785687f4bac08e475e8c0f3468d64ab1736e1
parent 2e33d77b156d071ae408c8d463d43d41ba7aa68b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 17 Jun 2019 16:37:29 -0400

record script uses display variable

Diffstat:
M.local/bin/dmenurecord | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord @@ -32,7 +32,7 @@ screencast() { \ -f x11grab \ -framerate 60 \ -s $(xdpyinfo | grep dimensions | awk '{print $2;}') \ - -i :0.0 \ + -i $DISPLAY \ -f alsa -i default \ -r 30 \ -c:v libx264rgb -crf 0 -preset ultrafast -c:a flac \ @@ -44,7 +44,7 @@ screencast() { \ video() { ffmpeg \ -f x11grab \ -s $(xdpyinfo | grep dimensions | awk '{print $2;}') \ - -i :0.0 \ + -i $DISPLAY \ -c:v libx264 -qp 0 -r 30 \ "$HOME/video-$(date '+%y%m%d-%H%M-%S').mkv" & echo $! > /tmp/recordingpid