From eab6f332a1928cb913b0f0b4161a3461f1945f22 Mon Sep 17 00:00:00 2001 From: Lucki Date: Tue, 28 Jul 2020 00:39:05 +0200 Subject: [PATCH] random ideas, not tested yet --- data/share/tweaks/mangohud.json | 42 ++++++++++++++++++++++++++++++++- data/share/tweaks/wine.json | 18 ++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 data/share/tweaks/wine.json diff --git a/data/share/tweaks/mangohud.json b/data/share/tweaks/mangohud.json index 4c41d2de..12808575 100644 --- a/data/share/tweaks/mangohud.json +++ b/data/share/tweaks/mangohud.json @@ -7,5 +7,45 @@ "requires": { "executables": ["mangohud"] }, - "command": "mangohud ${command}" + "command": "mangohud ${command}", + "env": { + "MANGOHUD_CONFIG": "${option:hud}" + }, + "options": { + "general": { + "name": "Elements", + "description": "Select elements to show", + "type": "list", + "seperator": ",", + "values": { + "cpu_stats": "Hide CPU information", + "cpu_temp": "Display current CPU temperature", + "gpu_stats": "Hide GPU information", + "gpu_temp": "Display current GPU temperature", + "gpu_core_clock": "Display GPU core frequency", + "gpu_mem_clock": "Display GPU memory frequency", + "arch": "Show if the application is 32 or 64 bit", + "frame_timing": "Hide the frame timing graph", + "histogram": "Change fps graph to histogram", + "time": "Display the current system time", + "core_load": "Display load & frequency per core", + "io_read": "IO read for the app (not system)", + "io_write": "IO write for the app (not system)", + "ram": "Display system ram usage", + "vram": "Display system vram usage", + "no_display": "Disable / hide the hud by default", + "crosshair": "Crosshair overlay", + "media_player": "Show media player metadata", + "engine_version": "Display OpenGL or vulkan and vulkan-based render engine's version", + "version": "Shows current mangohud version" + }, + "presets": { + "full": { + "name": "Full", + "description": "Enables most of the toggleable parameters (currently excludes histogram)", + "value": "full" + } + } + } + } } diff --git a/data/share/tweaks/wine.json b/data/share/tweaks/wine.json new file mode 100644 index 00000000..49839abe --- /dev/null +++ b/data/share/tweaks/wine.json @@ -0,0 +1,18 @@ +{ + "id": "wine_hide_dialog", + "name": "Hide update dialogs", + "description": "Hides the update dialog of Wine and the gecko install question.", + "group": "Wine", + "applicable_to": { + "platforms": [ + "windows" + ], + "compat": [ + "wine", + "proton" + ] + }, + "env": { + "WINEDLLOVERRIDES": "winex11.drv=" + } +}