commit 10f0ffe6cb8901406366738fdc572c7fa89509db parent d4390324f535faae2db6316facfd051d53646d21 Author: Chris Down <chris@chrisdown.name> Date: Fri, 7 Aug 2015 18:29:26 +0100 Remove CLIPMENU_LINES support You can just pass this as `-l`, I don't remember why I did this. Diffstat:
M | clipmenu | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/clipmenu b/clipmenu @@ -2,8 +2,6 @@ LC_COLLATE=C -dmenu_lines=${CLIPMENU_LINES-8} - declare -A selections ordered_selections=() @@ -26,8 +24,7 @@ for (( i=${#files[@]}-1; i>=0; i-- )); do done chosen_line=$( - printf '%s\n' "${ordered_selections[@]}" | - awk '!x[$0]++' | dmenu -l "$dmenu_lines" "$@" + printf '%s\n' "${ordered_selections[@]}" | awk '!x[$0]++' | dmenu "$@" ) [[ $chosen_line ]] || exit 1