Skip to content

fix: decouple i3 wallpaper path from repo clone location#47

Merged
stanfish06 merged 1 commit into
masterfrom
claude/pensive-keller-bXfrV
May 6, 2026
Merged

fix: decouple i3 wallpaper path from repo clone location#47
stanfish06 merged 1 commit into
masterfrom
claude/pensive-keller-bXfrV

Conversation

@stanfish06
Copy link
Copy Markdown
Owner

Summary

  • gentoo/configs-TF-X220/home-stan/dot-config/i3/config: replace the hardcoded repo path in the feh wallpaper exec line with a stable, location-independent path.

Problem

exec --no-startup-id feh --bg-scale ~/Git/my-configs/img/raccoon.jpg

This assumes the repo is always at ~/Git/my-configs/. On any machine where it is cloned to a different path, feh silently fails and the desktop has no wallpaper.

Fix

exec --no-startup-id feh --bg-scale ~/.config/i3/wallpaper.jpg

~/.config/i3/wallpaper.jpg is a stable, repo-independent path. Wire it up once at deploy time with:

ln -sf ~/Git/my-configs/img/raccoon.jpg ~/.config/i3/wallpaper.jpg

Test plan

  • ~/.config/i3/wallpaper.jpg symlink created as above
  • i3-msg restart — wallpaper loads correctly via feh

Closes #46


Generated by Claude Code

Replace hardcoded ~/Git/my-configs/img/raccoon.jpg with
~/.config/i3/wallpaper.jpg so the config works regardless of where
the repo is cloned. Deploy with:
  ln -sf ~/Git/my-configs/img/raccoon.jpg ~/.config/i3/wallpaper.jpg

Closes #46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

gentoo i3 config: hardcoded wallpaper path ~/Git/my-configs/img/raccoon.jpg

1 participant