From 8e26db47a0ec223c0ae19ed23b56599c962d3bc1 Mon Sep 17 00:00:00 2001 From: epoch Date: Fri, 21 Jan 2022 19:37:05 +0000 Subject: choose now uses pmenu if DISPLAY is unset --- choose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'choose') diff --git a/choose b/choose index 816243c..4edf7a7 100755 --- a/choose +++ b/choose @@ -16,5 +16,5 @@ if [ $DISPLAY ];then # [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid] dmenu -l 10 -p "$prompt" -nb '#000000' -nf '#00aa00' -sb '#006600' -sf '#00ff00' else - printf "%s" "$1" + pmenu -p "$prompt" fi -- cgit v1.2.3