diff options
| author | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
|---|---|---|
| committer | awy <awy@awy.one> | 2025-11-29 18:35:49 +0300 |
| commit | 8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4 (patch) | |
| tree | 868e0d8389fb2b4e413409f65f57caa9c0b37eda /.local/bin/dmenurecord | |
| parent | db008a76e93dcfbf00fec5a141a1e1bd122b04a7 (diff) | |
| download | hyprdots-8d90f5a577b75b8a792b7a2f02d98a31e9ff19c4.tar.gz | |
uupdate
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 } |