r/HeroicGamesLauncher • • 8d ago

I vibe coded a script for custom game backgrounds when hovering over a game in console mode

Add the following to the "Custom CSS Style" in Settings > Advanced:

*removethispartlol*@import url("file:///path/to/backgrounds.css");

.App.consoleMode main.content,

.App.consoleMode .ConsoleMode,

.App.consoleMode .consoleStage,

.App.consoleMode .consoleGridScroller {

background: transparent !important;

}

In a suitable folder, make a bash script and paste this (this script will generate the backgrounds.css file). In that same folder, put your backgrounds and name them exactly the same as what you named the corresponding games in your Heroic library. Whenever you add a new background, run the script and badabing-badaboom you're done.

1 Upvotes

3 comments sorted by

3

u/flaviofearn HeroicGamesLauncher Developer 8d ago

We have a PR opened to implement game background in console mode but it's not merged yet. It's a bit different since your approach shows only the selected card. This, along with a carousel mode, could be good to have as new "views" on the console mode

1

u/Simme_Pirat 8d ago

Nice, I'd love to see this in a future official release!

1

u/Simme_Pirat 8d ago

I always launch heroic in console mode so I wanted it to be a little more stylish