OMGDuke / protondb-decky

ProtonDB Badges is a plugin for Decky Loader to display tappable ProtonDB badges on your game pages
https://decky.xyz/
GNU General Public License v3.0
93 stars 10 forks source link

Adjustable Badge Position #4

Closed OMGDuke closed 2 years ago

OMGDuke commented 2 years ago

Allow user to change position of the badge in the header with a QAM control

joamjoamjoam commented 2 years ago

This could easily be handled by using a CSS Loader Theme if you want it to be user configurable. it would be nice to have this built into the plugin too though. Even if its just a top right bottom right type of thing.

joamjoamjoam commented 2 years ago

here's a quick and dirty theme using CSSLoader to implement this and the opacity change when the medal is selected. Can make selection in the CSS Loader theme UI.

https://github.com/joamjoamjoam/SteamDeckThemes

OMGDuke commented 2 years ago

I was just going to build it into the plugin config for now, top-left, top-right, bottom-left, bottom-right.

But yeh there's a css class on the component so anyone could add additional themes themselves via CSS Loader

joamjoamjoam commented 2 years ago

Yeah sounds like a good plan.

OMGDuke commented 2 years ago

https://github.com/OMGDuke/protondb-decky/pull/25