aboutsummaryrefslogtreecommitdiff
path: root/bin/menu
diff options
context:
space:
mode:
Diffstat (limited to 'bin/menu')
-rwxr-xr-xbin/menu3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/menu b/bin/menu
index c4c718f..d0d3bcd 100755
--- a/bin/menu
+++ b/bin/menu
@@ -81,9 +81,10 @@ DATA() {
}
show() {
+ PROFILE="menu-$1"
set -- dmenu -i -l 20 -fn Monospace-18 -p "$1:"
if [ -z "${RAW:-}" ]; then
- remembering -p "menu-$1" -- "$@"
+ remembering -p "$PROFILE" -- "$@"
else
"$@"
fi