diff options
author | awy <awy@awy.one> | 2025-08-14 05:46:25 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-08-14 05:46:25 +0300 |
commit | 222fe9a9ffc5430ea28173f01482f30b26f22648 (patch) | |
tree | d11094fe10c854cd23dfa5f49850e1facfefe116 /.local/bin/dmenurecord | |
parent | 9e12eb5b61daa6fc864301893bc6242614777d76 (diff) | |
download | hyprdots-222fe9a9ffc5430ea28173f01482f30b26f22648.tar.gz |
update
Diffstat (limited to '.local/bin/dmenurecord')
-rwxr-xr-x | .local/bin/dmenurecord | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord index 6d6af9c..6f51f5f 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -1,7 +1,7 @@ #!/bin/sh # Usage: -# `$0`: Ask for recording type via rofi -dmenu +# `$0`: Ask for recording type via mew # `$0 screencast`: Record both audio and screen # `$0 video`: Record only screen # `$0 audio`: Record only audio @@ -11,7 +11,7 @@ getdim() { screens=$(hyprctl monitors | grep Monitor | cut -d' ' -f2) - choice=$(printf "$screens\nExit\n" | rofi -dmenu) + choice=$(printf "$screens\nExit\n" | mew) [ "${choice}" != "Exit" ] || [ -z "${choice}" ] || exit && echo $choice } @@ -77,7 +77,7 @@ audio() { \ } askrecording() { \ - choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | rofi -dmenu -i -p "Select recording style:") + choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | mew -i -p "Select recording style:") case "$choice" in screencast) screencast;; audio) audio;; @@ -89,7 +89,7 @@ askrecording() { \ } asktoend() { \ - response=$(printf "No\\nYes" | rofi -dmenu -i -p "Recording still active. End recording?") && + response=$(printf "No\\nYes" | mew -i -p "Recording still active. End recording?") && [ "$response" = "Yes" ] && killrecording } |