summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortsxv478 <atci39@rambler.ru>2023-10-14 22:20:02 +0300
committertsxv478 <atci39@rambler.ru>2023-10-14 22:20:02 +0300
commit94258104b1995762a1e2b4018169289088bd03da (patch)
tree08348fcfe2a9c8b9252bdcfbabb7bc73a8229754
parent67f16773001a0718fc7ad3a6e6caf2671e0134a8 (diff)
ffrec center dmenu
-rwxr-xr-xffrec4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffrec b/ffrec
index 7a4e020..495a2c3 100755
--- a/ffrec
+++ b/ffrec
@@ -69,7 +69,7 @@ audio() { \
}
askrecording() { \
- choice=$(printf "video\\nvideo selected\\naudio\\nscreencast\\nwebcam\\nwebcam (hi-def)" | dmenu -i -p "Select recording style:")
+ choice=$(printf "video\\nvideo selected\\naudio\\nscreencast\\nwebcam\\nwebcam (hi-def)" | dmenu -i -c -l 6 -p "Record:")
case "$choice" in
video) video;;
*selected) videoselected;;
@@ -81,7 +81,7 @@ askrecording() { \
}
asktoend() { \
- response=$(printf "No\\nYes" | dmenu -i -p "Recording still active. End recording?") &&
+ response=$(printf "Yes\\nNo" | dmenu -i -c -l 2 -p "End recording?") &&
[ "$response" = "Yes" ] && killrecording
}