Tormak9970/bash-shortcuts

Selected game parameters

Closed this issue · 4 comments

I saw you added hooks and parameters to those.
Could you add more generic parameters like which game is selected, time, current user etc, which can be used outside of hooks?

I only wanna run some stuff on demand, which would still need game ids and such

I saw you added hooks and parameters to those. Could you add more generic parameters like which game is selected, time, current user etc, which can be used outside of hooks?

I only wanna run some stuff on demand, which would still need game ids and such

Time and current user for sure, that's real simple. As to selected game, do you mean like if you are on a game's page (like where you launch it from)?

Yeah exactly, the game page you're on. Idk how easily checkable that is.

Maybe also the current game you're playing (decksettings has a check for that if you want a reference).

Maybe make them opt-in if you're worried about performance.

Not worried about performance, but considering making them opt in to avoid any possible issues with conflicting flags

I have added date, time, current user's username, current game's appId, and current game's name to general flags. Marking this as complete