diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2022-01-21 19:37:05 +0000 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2022-01-21 19:37:05 +0000 |
commit | 8e26db47a0ec223c0ae19ed23b56599c962d3bc1 (patch) | |
tree | 2527521a0ff39138bb7695c1a81c15bd527aea81 /choose | |
parent | 88420679464dad29916838b6468cca68d06a9b67 (diff) | |
download | uritools-8e26db47a0ec223c0ae19ed23b56599c962d3bc1.tar.gz uritools-8e26db47a0ec223c0ae19ed23b56599c962d3bc1.zip |
choose now uses pmenu if DISPLAY is unset
Diffstat (limited to 'choose')
-rwxr-xr-x | choose | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |