aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2022-01-21 19:37:05 +0000
committerepoch <epoch@enzo.thebackupbox.net>2022-01-21 19:37:05 +0000
commit8e26db47a0ec223c0ae19ed23b56599c962d3bc1 (patch)
tree2527521a0ff39138bb7695c1a81c15bd527aea81
parent88420679464dad29916838b6468cca68d06a9b67 (diff)
downloaduritools-8e26db47a0ec223c0ae19ed23b56599c962d3bc1.tar.gz
uritools-8e26db47a0ec223c0ae19ed23b56599c962d3bc1.zip
choose now uses pmenu if DISPLAY is unset
-rwxr-xr-xchoose2
1 files changed, 1 insertions, 1 deletions
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