Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csgo-vulkan-fix: Use InitialTitle instead of InitialClass as the class is now generic #225

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

daniel-Jones
Copy link

@daniel-Jones daniel-Jones commented Sep 24, 2024

At some point CS2 changed the class name to 'SDL Application'. The plugin no longer targets the game with it set to cs2. This PR changes the plugin to use the windows InitialTitle instead of InitialClass.
Not ideal if people are using it for something other than cs2, but the plugin is more aimed for the game.

Also removed the unnecessary -vulkan options as is isn't valid anymore.

@daniel-Jones daniel-Jones changed the title csgo-vulkan-fix: change cs2 class to match current class csgo-vulkan-fix: Use InitialTitle instead of InitialClass as the class is now generic Sep 24, 2024
@daniel-Jones
Copy link
Author

daniel-Jones commented Sep 24, 2024

It applies the plugin to the steam settings window for the game as it sets the same title.. this is obviously not the ideal solution, but unless we just target "SDL Application" class I can't think of a better way. Unless we can force the class in the games launch options?

@vaxerski
Copy link
Member

a better way would be to finally make a windowrule for it

@daniel-Jones
Copy link
Author

What are your thoughts on how to detect cs2 for this windowrule? Or are you thinking the user will just match it to the title if they want?

@vaxerski
Copy link
Member

vaxerski commented Sep 25, 2024

just add a windowrule and let the user pick what and how they want to match it, just like a windowrule.

windowrulev2 = plugin:csgovkfix:app, class:^(Something)$,title:^(amogus)$

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