From c4f0271e6108f8b28c505dc2b579942196b7a17d Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Wed, 27 Oct 2021 21:09:10 +0200 Subject: [PATCH] update --- bin/mbxcolors | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/mbxcolors b/bin/mbxcolors index 6c46082..414dafe 100755 --- a/bin/mbxcolors +++ b/bin/mbxcolors @@ -130,10 +130,11 @@ palettes() { out3+=("^sep(Are you sure?)") out3+=("Yes,rm '$file';$ME") done - if [[ $# = 0 ]] ; then + #if [[ $# = 0 ]] ; then + if [[ -n "$1" ]] ; then out1+=("^sep()") out1+=("Add new palette...,$ME newpalette;$ME") - out1+=("Open palette directory,xdg-open $CNF_DIR/palettes/") + out1+=("Open palette directory,xdg-open $CNF_DIR/palettes/my/") fi }