mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-15 23:59:25 +01:00
darkman-setup.bash: detect the git repo as well
This commit is contained in:
parent
bca436cd4d
commit
f5e14af247
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user