Skip to content

Conversation

@SamrudhNelli
Copy link
Contributor

Automatically change the chromium background whenever the desktop background is changed.

Automatically change the chromium background whenever the desktop
background is changed.
@dhh
Copy link
Member

dhh commented Oct 23, 2025

Hmm, didn't seem to change anything for me when changing. Maybe this only works if you've set your chromium to use a background already, which isn't the default?

@SamrudhNelli
Copy link
Contributor Author

Hmm, didn't seem to change anything for me when changing. Maybe this only works if you've set your chromium to use a background already, which isn't the default?

oh yes, it works only for those who had set a custom background. I'll look into it..

When omarchy-theme-bg-next is run the code checks if the chromium theme
is already setup according to the omarchy theme. If not, it closes
chromium and changes the theme inside Preferences. Else it just copies
the current background into the default chromium directory.
@SamrudhNelli
Copy link
Contributor Author

SamrudhNelli commented Oct 23, 2025

A migration would be needed that asks for approval to close chromium and run omarchy-theme-bg-next.
After this migration the chromium background would be set according to the local file (.config/chromium/Default/background.jpg). We just replace the background.jpg with the current background when omarchy-theme-bg-next is run from then onwards.

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.

2 participants