Mangohud : Add presets.

This commit is contained in:
Dmitry Voronin 2024-03-21 22:40:12 +03:00
parent 7417a2286c
commit 87e9603a17
3 changed files with 33 additions and 20 deletions

View file

@ -33,14 +33,14 @@
variables = { variables = {
# MangoHud. # MangoHud.
MANGOHUD = "1"; MANGOHUD = "1";
MANGOHUD_CONFIGFILE = "/etc/mangohud/MangoHud.conf"; MANGOHUD_CONFIGFILE = ./mangohud/MangoHud.conf;
MANGOHUD_PRESETSFILE = "/etc/mangohud/MangoPresets.conf"; MANGOHUD_PRESETSFILE = ./mangohud/MangoPresets.conf;
# Proton. # Proton.
WINEFSYNC = "1"; WINEFSYNC = "1";
}; };
etc.mangohud.source = ./mangohud; # etc.mangohud.source = ./mangohud;
}; };
# Special packages. # Special packages.

View file

@ -1,25 +1,12 @@
af=16 af=16
alpha= blacklist=example
battery=1
battery_time=1
benchmark_percentiles=0
cpu_temp=1
device_battery=gamepad
font_size=12
fps_limit=165 fps_limit=165
fps_limit_method=early fps_limit_method=early
fps_sampling_period=1000 fps_sampling_period=1000
frame_timing=0 frame_timing=0
gl_vsync=1 gl_vsync=1
gpu_junction_temp=1
gpu_temp=1
hud_no_margin=1
mouse
no_display=0 no_display=0
ram=1 preset=1,0,2
swap=1 toggle_preset=F1
throttling_status=1 toggle_logging=F2
time=1
toggle_hud=F1
vram=1
vsync=3 vsync=3

View file

@ -0,0 +1,26 @@
[preset 0]
no_display=1
[preset 1]
alpha=1.0
arch=0
background_alpha=0.5
battery=1
battery_time=1
benchmark_percentiles=0
cpu_temp=1
device_battery=gamepad,mouse
font_size=12
fps_sampling_period=1000
gpu_junction_temp=1
gpu_mem_temp=1
gpu_temp=1
hud_no_margin=1
ram=1
swap=1
throttling_status=1
time=1
vram=1
[preset 2]
full=1