Turn on and off performance mode for nvidia.

This commit is contained in:
CronyAkatsuki 2024-01-08 16:18:26 +01:00
parent 865517b876
commit 237e0e2f19

View File

@ -89,10 +89,12 @@ inhibit_screensaver=1
[custom] [custom]
; Custom scripts (executed using the shell) when gamemode starts and ends ; Custom scripts (executed using the shell) when gamemode starts and ends
start=notify-send "Gamemode" "Started" start=notify-send "Gamemode" "Started"
nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=1'
; wlr-randr --output eDP-1 --scale 1 ; wlr-randr --output eDP-1 --scale 1
; /home/me/bin/stop_ethmining.sh ; /home/me/bin/stop_ethmining.sh
end=notify-send "Gamemode" "Stoped" end=notify-send "Gamemode" "Stoped"
nvidia-settings -a '[gpu:0]/GPUPowerMizerMode=2'
; wlr-randr --output eDP-1 --scale 1.25 ; wlr-randr --output eDP-1 --scale 1.25
; /home/me/bin/start_ethmining.sh ; /home/me/bin/start_ethmining.sh