Skip to content

Best way to run something before and after e.g. changing keyboard layout #2507

Closed
@alexheretic

Description

@alexheretic

Problem description

I often want to set my keyboard layout to qwerty for games, rather than my default of colemak.

In steam I can do this with launch settings setxkbmap gb; %command%; setxkbmap gb colemak.

For some games I've used a similar way to set mouse sensitivity before & after the game launch.

I can't see an equivalent way to do so in heroic. Is there a good way to achieve this?

Feature description

Configure commands to run before & after the game.

Alternatives

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions