commit b3feaa625d77f245f9388c076c3b524abe3b3944
parent 9abf8e5fa0ba48a2ca53ad5aba968fa20560fd88
Author: awy <awy@awy.one>
Date: Sat, 24 May 2025 22:15:22 +0300
scripts
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.local/bin/dmenurecord b/.local/bin/dmenurecord
@@ -1,7 +1,7 @@
#!/bin/sh
# Usage:
-# `$0`: Ask for recording type via wmenu
+# `$0`: Ask for recording type via fuzzel --dmenu
# `$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" | wmenu)
+ choice=$(printf "$screens\nExit\n" | fuzzel --dmenu)
[ "${choice}" != "Exit" ] || [ -z "${choice}" ] || exit &&
echo $choice
}
@@ -77,7 +77,7 @@ audio() { \
}
askrecording() { \
- choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | wmenu -i -p "Select recording style:")
+ choice=$(printf "screencast\\nvideo\\nvideo selected\\naudio\\nwebcam\\nwebcam (hi-def)" | fuzzel --dmenu -i -p "Select recording style:")
case "$choice" in
screencast) screencast;;
audio) audio;;
@@ -89,7 +89,7 @@ askrecording() { \
}
asktoend() { \
- response=$(printf "No\\nYes" | wmenu -i -p "Recording still active. End recording?") &&
+ response=$(printf "No\\nYes" | fuzzel --dmenu -i -p "Recording still active. End recording?") &&
[ "$response" = "Yes" ] && killrecording
}