mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-06-02 03:19:54 +02:00
add gamemode config
This commit is contained in:
parent
741d06a875
commit
499c10ff7d
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",
|
notification_daemon = "wired",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opts.gamemode = {
|
||||||
|
on_start = "notify-send 'Gamemode' 'Gamemode Active'",
|
||||||
|
on_stop = "notify-send 'Gamemode' 'Gamemode Inactive'",
|
||||||
|
}
|
||||||
|
|
||||||
return opts
|
return opts
|
||||||
|
|
Loading…
Reference in a new issue