add gamemode config
This commit is contained in:
parent
741d06a875
commit
499c10ff7d
2 changed files with 18 additions and 0 deletions
13
.config/gamemode.ini.cgt
Normal file
13
.config/gamemode.ini.cgt
Normal file
|
@ -0,0 +1,13 @@
|
|||
[general]
|
||||
; Default is 5 seconds. Completely nuts.
|
||||
reaper_freq=30
|
||||
|
||||
; renice to -5
|
||||
renice=5
|
||||
|
||||
; I don't use screensavers
|
||||
inhibit_screensaver=0
|
||||
|
||||
[custom]
|
||||
start=<% opt.gamemode.on_start %>
|
||||
end=<% opt.gamemode.on_stop %>
|
|
@ -32,4 +32,9 @@ opts.commands = {
|
|||
notification_daemon = "wired",
|
||||
}
|
||||
|
||||
opts.gamemode = {
|
||||
on_start = "notify-send 'Gamemode' 'Gamemode Active'",
|
||||
on_stop = "notify-send 'Gamemode' 'Gamemode Inactive'",
|
||||
}
|
||||
|
||||
return opts
|
||||
|
|
Loading…
Reference in a new issue