From f5e14af24769f816dd009e22dad925d5e03ba60a Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 17 Jul 2024 10:13:51 +0300 Subject: [PATCH] darkman-setup.bash: detect the git repo as well --- bash/darkman-setup.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bash/darkman-setup.bash b/bash/darkman-setup.bash index 22cce82..1974d7e 100755 --- a/bash/darkman-setup.bash +++ b/bash/darkman-setup.bash @@ -13,6 +13,8 @@ elif [ -d /usr/local/share/doc/darkman/examples ]; then ln -nsfv /usr/local/share/doc/darkman/examples/{dark,light}-mode.d ~/.local/share/ elif [ -d ~/.local/share/doc/darkman/examples ]; then ln -nsfv ~/.local/share/doc/darkman/examples/{dark,light}-mode.d ~/.local/share/ +elif [ -d ~/src/gitlab.com/WhyNotHugo/darkman ]; then + ln -nsfv ~/src/gitlab.com/WhyNotHugo/darkman/examples/{dark,light}-mode.d ~/.local/share/ else echo "Darkman examples not found in expected locations." exit 1