CachyOS / CachyOS-Settings

Settings used for CachyOS
GNU General Public License v3.0
105 stars 24 forks source link

Add helper script to set powerprofiles to performance #69

Closed ptr1337 closed 5 months ago

ptr1337 commented 5 months ago

CachyOS does not use Gamemode as default, which makes it a bit harder to switch to the performance governor.

Lets provide a script, which simply utilizes power-profiles-daemon to switch to the performance mode.

User can add to the Game Launch Options:

game-performance %command%

todo:

Make it maybe reset, when game does stop

vnepogodin commented 5 months ago

User can add to the Game Launch Options: game-performance %command%

For that to work you need to run something like here

vnepogodin commented 5 months ago

Also the todo is essential imho

vnepogodin commented 5 months ago

User can add to the Game Launch Options: game-performance %command%

For that to work you need to run something like here

like that:

#!/bin/bash
# Helper script to enable the performance gov with proton or others

# set perf
powerprofilesctl set performance

# launch what was passed as arguments
exec "$@"