diff options
Diffstat (limited to '.local/bin/dmenurecord')
| -rwxr-xr-x | .local/bin/dmenurecord | 8 |
1 files changed, 6 insertions, 2 deletions
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 \ |