diff options
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 58b4411..55bcec7 100755 --- a/.local/bin/dmenurecord +++ b/.local/bin/dmenurecord @@ -2,7 +2,7 @@ getdim() { gpu-screen-recorder --list-capture-options | sed 's/|[0-9]\{1,\}x[0-9]\{1,\}//g' \ - | mew -p "Select output: " + | rofi -dmenu -p "Select output: " } updateicon() { \ @@ -90,7 +90,7 @@ savereplay() { } askrecording() { \ - choice=$(printf "screencast\\nreplay\\nvideo\\naudio\\nwebcam\\nwebcam (hi-def)" | mew -i -p "Select recording style:") + choice=$(printf "screencast\\nreplay\\nvideo\\naudio\\nwebcam\\nwebcam (hi-def)" | rofi -dmenu -i -p "Select recording style:") case "$choice" in screencast) screencast;; replay) replay;; @@ -103,11 +103,11 @@ askrecording() { \ asktoend() { \ if grep -q "" /tmp/recordingicon; then - response=$(printf "No\\nYes" | mew -i -p "Replay is active. Save it?") && + response=$(printf "No\\nYes" | rofi -dmenu -i -p "Replay is active. Save it?") && [ "$response" = "Yes" ] && savereplay fi - response=$(printf "No\\nYes" | mew -i -p "Recording still active. End recording?") && + response=$(printf "No\\nYes" | rofi -dmenu -i -p "Recording still active. End recording?") && [ "$response" = "Yes" ] && killrecording } |