From 4e2b43df111e3c4db4066c41502994285773f8af Mon Sep 17 00:00:00 2001 From: awy Date: Sat, 15 Nov 2025 03:42:47 +0300 Subject: fixes --- .local/bin/dmenurecord | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.local/bin/dmenurecord') diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord index d9212f6..6c0ac92 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -1,5 +1,9 @@ #!/bin/sh +getdim() { + mmsg -O | mew -p "Select output: " +} + updateicon() { \ echo "$1" > /tmp/recordingicon pkill -RTMIN+9 "${STATUSBAR:-someblocks}" @@ -15,7 +19,7 @@ killrecording() { } screencast() { gpu-screen-recorder \ - -w portal \ + -w "$(getdim)" \ -fm content \ -f 60 \ -a default_output \ @@ -63,7 +67,7 @@ audio() { \ } replay() { gpu-screen-recorder \ - -w portal \ + -w "$(getdim)" \ -fm content \ -f 60 \ -r 60 \ -- cgit v1.2.3