FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.67k stars 184 forks source link

Custom script or other settings from inside the home directory #476

Closed Amzd closed 4 months ago

Amzd commented 4 months ago

Is your feature request related to a problem? Please describe. Is there any way to set a custom script from inside the home directory? I would like to check it into my dotfiles so I don't have to edit the gamemode.ini every time I switch PC/distro

Describe the solution you'd like A default search path in home for custom scripts eg ~/.gamemode/start.sh or something for start? Or maybe a searchpath for custom ini at ~/.gamemode/gamemode.ini? Not sure what the standard is for these types of issues.

Describe alternatives you've considered Editing the current gamemode.ini that's outside home folder manually is possible but I'd rather automatically apply these settings through my usual dotfiles repo.

Amzd commented 4 months ago

Just figured out this is already possible through $HOME/.config/gamemode.ini