Skip to content

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

@stanfish06

Description

@stanfish06

File: gentoo/configs-TF-X220/home-stan/dot-config/i3/config
Line 38:

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

The wallpaper path assumes the repo is always cloned to ~/Git/my-configs/. On any machine where the repo lives at a different path, feh will silently fail and the desktop will have no wallpaper.

Suggested fix: decouple the wallpaper path from the repo location by pointing feh at a stable, XDG-adjacent path such as ~/.config/i3/wallpaper.jpg. At deploy time a single symlink wires up the actual image:

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

The i3 exec line becomes:

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

Note: this was originally identified by Copilot during the PR #45 weekly review but could not be filed at that time due to network restrictions in the Actions sandbox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions