From e1a59535198e0b9e047fecfda387222b6aa7518d Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Fri, 27 Dec 2024 23:37:22 +0100 Subject: [PATCH] jgpicom upd --- usr/bin/jgpicom-pipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/bin/jgpicom-pipe b/usr/bin/jgpicom-pipe index b00c855..0c96db4 100755 --- a/usr/bin/jgpicom-pipe +++ b/usr/bin/jgpicom-pipe @@ -103,9 +103,11 @@ out+=("^sep($EDIT_TITLE)") if [ -f "$CONFFILE" ];then if [ ! "$(readlink $CONFFILE)" -ef "/dev/null" ];then out+=(" $EDIT,xdg-open $CONFFILE") - if hash picom-conf 2>&1 >/dev/null + if hash picom-conf 2>/dev/null then + if [[ "$(readlink $CONFFILE)" != *jaskier.conf ]];then out+=(" $CONFIG_GUI,picom-conf") + fi else out+=(" $INSTALL_GUI,pamac-installer picom-conf-git") fi