commit 3a4a76dcb938613de57c9b749efb468c0672e79d parent fecfede1403c9d8f2a11499ec23622b7023b20e6 Author: Chris Down <chris@chrisdown.name> Date: Wed, 5 Feb 2014 18:24:13 +0800 Pass arguments through to dmenu Diffstat:
M | clipmenu | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clipmenu b/clipmenu @@ -17,7 +17,7 @@ for file in /tmp/clipmenu/*; do selections[$first_line]=$file done -chosen_line=$(printf '%s\n' "${!selections[@]}" | dmenu -l "$dmenu_lines") +chosen_line=$(printf '%s\n' "${!selections[@]}" | dmenu -l "$dmenu_lines" "$@") [[ $chosen_line ]] || exit 1