jgpicom upd

This commit is contained in:
Daniel Napora 2024-12-27 23:37:22 +01:00
parent b2a9ef9cd1
commit e1a5953519

View File

@ -103,9 +103,11 @@ out+=("^sep($EDIT_TITLE)")
if [ -f "$CONFFILE" ];then if [ -f "$CONFFILE" ];then
if [ ! "$(readlink $CONFFILE)" -ef "/dev/null" ];then if [ ! "$(readlink $CONFFILE)" -ef "/dev/null" ];then
out+=(" $EDIT,xdg-open $CONFFILE") out+=(" $EDIT,xdg-open $CONFFILE")
if hash picom-conf 2>&1 >/dev/null if hash picom-conf 2>/dev/null
then then
if [[ "$(readlink $CONFFILE)" != *jaskier.conf ]];then
out+=(" $CONFIG_GUI,picom-conf") out+=(" $CONFIG_GUI,picom-conf")
fi
else else
out+=(" $INSTALL_GUI,pamac-installer picom-conf-git") out+=(" $INSTALL_GUI,pamac-installer picom-conf-git")
fi fi