summaryrefslogtreecommitdiff
path: root/bin/imgcollage
diff options
context:
space:
mode:
authorskylar <me@casper>2026-11-01 07:11:15 -0800
committerskylar <me@casper>2026-11-01 07:11:15 -0800
commitb6c9feb9e223c88dcad3f4bff39ae9a01e7cdad0 (patch)
treeebdb14242391446efdffbcd8cd3c206531ad7062 /bin/imgcollage
parent150558c0cf0ca5d0fbd002cd6a0d5a63fadd5111 (diff)
bin: read system-theme wallpapers from a config file; find photocollage through symlinks
system-theme sources ~/.config/system-theme/config, so wallpapers can be set without the session environment. imgcollage resolves its own path, so a symlink to it on PATH still finds the vendored photocollage beside the real file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'bin/imgcollage')
-rwxr-xr-xbin/imgcollage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/imgcollage b/bin/imgcollage
index 6211f87..50ef803 100755
--- a/bin/imgcollage
+++ b/bin/imgcollage
@@ -14,7 +14,7 @@ import os
import random
import sys
-sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+sys.path.insert(0, os.path.dirname(os.path.realpath(__file__)))
from photocollage import collage, render # noqa: E402