aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/dmenurecord
diff options
context:
space:
mode:
authorawy <awy@awy.one>2025-11-15 03:42:47 +0300
committerawy <awy@awy.one>2025-11-15 03:42:47 +0300
commit4e2b43df111e3c4db4066c41502994285773f8af (patch)
tree83dc43773843ac16c547afa62e4aae42d4eeffde /.local/bin/dmenurecord
parent0ed8ad7ed94ff185c8b30c0ca090d38ea6e2771e (diff)
downloadmangoslice-4e2b43df111e3c4db4066c41502994285773f8af.tar.gz
fixes
Diffstat (limited to '.local/bin/dmenurecord')
-rwxr-xr-x.local/bin/dmenurecord8
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 \