jackun
441f1d3f3f
Use std::locale::classic() in parse_float()
4 years ago
jackun
e1fb2fbf88
Parse floats in C locale, hopefully
4 years ago
jackun
5ec6519832
Add `media_player_order` to set media player metadata order
4 years ago
FlightlessMango
d41909321a
More width fixing
4 years ago
FlightlessMango
0728d49a1d
Fix width with no params
4 years ago
FlightlessMango
816d6ca515
Fixing hud width issues
4 years ago
FlightlessMango
6d1ed9751d
Changed default keybinds
4 years ago
jackun
a236af66ee
Lock metadata mutexes in case they are cleared by inotify thread
4 years ago
jackun
16b05dfc5e
Show gpu core clock or power usage in 4th column or both on next row if both are enabled
4 years ago
FlightlessMango
3d503c9f29
Don't enable histogram with full param
4 years ago
FlightlessMango
d8727110b0
Replaced log_period env with log_interval param
4 years ago
FlightlessMango
2d0ba9a076
Params to override cpu/gpu text
4 years ago
jackun
699de56fa1
[dbus] clear non-main players' metadata on dbus deinit
4 years ago
jackun
c04658456a
Wider glyph ranges for custom font; media player text scaling with `font_scale_media_player` param
4 years ago
jackun
15ed8df404
Fix keybinds init when building without X11
4 years ago
jackun
ff48525313
Consolidated amdgpu file handles to a struct and add `gpu_power` param to show power usage for amdgpu/nvml
4 years ago
jackun
9b595cef1a
[dbus] clear metadata on re-init; don't use exceptions
4 years ago
FlightlessMango
1d375fd155
Removed crosshair
4 years ago
jackun
613fa68491
Use `+` as keybind delimiter
4 years ago
jackun
c5bb35c10d
Merge branch '159' into develop
4 years ago
Valters
1afea91dab
Add multi hotkey
4 years ago
jackun
a27ee0dc39
Generalize initial metadata error message
4 years ago
jackun
d694a61d21
Add `media_player_name` and `media_player_color` params
...
Allows to set "main" media player and text color
4 years ago
jackun
768297b430
[editorconfig] Apply whitespace rules
4 years ago
FlightlessMango
3f4949f593
Added top-center overlay position
4 years ago
FlightlessMango
0eaba7bb6c
Removed obsolete license from params
4 years ago
jackun
0ab53a1c06
Move MANGOHUD_PCI_DEV to config file param 'pci_dev'
...
Relax format requirements as long as it loosely resembles 'domain🚌 slot.func' format.
4 years ago
jackun
cf5eb9e9a5
ifdef-guard dbus_info.h include
5 years ago
jackun
e5a256bfc0
Move DBus init to overlay_params so it can be enabled/disabled on the fly from a single place
5 years ago
jackun
8cd3172335
[OpenGL] Separate GLX out from shareable code so wayland sessions can just use EGL, hopefully
5 years ago
jackun
2f034c6d1e
Use X11 loader functions instead of linking to X11 libs
5 years ago
jackun
f8cc3bbf06
[config] Allow fps_limit=0 or commenting it out to disable fps limit
5 years ago
jackun
cf17f70dab
Remove unused statistics related code
5 years ago
jackun
341aa21b87
[config] Move options map and config_file_path to overlay_params
5 years ago
jackun
b0f36fad31
Expand paths only
5 years ago
FlightlessMango
b0e1fe9321
[params] set targetFrameTime in params.cpp
5 years ago
jackun
6e40f9bdd5
Expand tilde to home dir if string param start with `~`
5 years ago
jackun
2e3f8077cb
Remove parse_output_file
5 years ago
jackun
da9120f971
Add parse_signed() for gl_sync
5 years ago
jackun
125dbc1403
[OpenGL] Allow swap interval of -1 for adaptive sync, if supported
5 years ago
FlightlessMango
e24f5dfc8b
added log_duration param and updated readme
5 years ago
FlightlessMango
8641392ca7
added MANGOHUD_FONT to params as font_file
5 years ago
FlightlessMango
d1bdf71580
added MANGOHUD_OUTPUT to params as output_file
5 years ago
FlightlessMango
fe69ec2955
changed refresh_config to reload_cfg
5 years ago
jackun
e0ce0493f7
[OpenGL] Set swap interval (vsync) with `gl_vsync` param
5 years ago
FlightlessMango
8bf8723ad5
added param text_color
5 years ago
FlightlessMango
77b3033cc7
Removed frametime_alpha and replace it with an overall alpha for text and frametime
5 years ago
FlightlessMango
163c76bea7
added param background_color
5 years ago
FlightlessMango
28e765a6a3
added param frametime_alpha
5 years ago
FlightlessMango
906a8cde23
added param frametime_color
5 years ago
FlightlessMango
a2735693ba
Merge opengl into develop
5 years ago
FlightlessMango
755558ecb9
added param io_color
5 years ago
FlightlessMango
d8b3c3c81f
params for changing color of cpu, gpu, vram, ram and engine text
5 years ago
jackun
e881a1538a
Pre-convert crosshair's color to ImGui's format
5 years ago
FlightlessMango
274b3e67ca
don't extend hud width if gpu_stats is disabled
5 years ago
FlightlessMango
4d5f62386b
added gpu mem and core clocks to hud
5 years ago
jackun
f8398c3e7a
Add I/O stats
...
Using /proc/self/io 'read_bytes' and 'write_bytes' fields which count only
reads/writes that hit the storage (i.e no cached reads).
5 years ago
FlightlessMango
534ca9416d
Spruced up iostats and change to bool from custom
5 years ago
jackun
ea8f0ad666
Includes cleanup
5 years ago
jackun
6bf37f8510
Add "time_format" parameter; update time string every "fps_sampling_period" interval
...
See std::put_time docs for supported formatting
5 years ago
jackun
9a4c9033fa
Support escaping delimiters in MANGOHUD_CONFIG
5 years ago
FlightlessMango
12ba4f9ea5
No need to set hud height manually anymore
5 years ago
jackun
8a348ffbf0
Disable gpu_timing for now
...
Issue #44
5 years ago
jackun
d78622a322
Don't enable 'read_cfg' too when 'full' is set in MANGOHUD_CONFIG
...
Could use OVERLAY_PARAM_INTERNAL or something similar but currently
less code to just save the boolean and reset.
5 years ago
FlightlessMango
099082affc
Refresh config keybind
5 years ago
FlightlessMango
7593582f4a
Fixed parsing crosshair color function
5 years ago
jackun
68e880a101
config: rename param to "read_cfg"
5 years ago
jackun
80f29aad9d
Allow MANGOHUD_CONFIG to override configuration files' settings.
...
Use `MANGOHUD_CONFIG=some_setting=1` to skip reading the configuration files
and just use the settings specified with MANGOHUD_CONFIG.
Use `MANGOHUD_CONFIG=read_configs,...` to read configuration files too and
add other settings that you would like to override.
5 years ago
FlightlessMango
d8783d3002
Added time param
5 years ago
FlightlessMango
29bacea97f
Add param option full
5 years ago
FlightlessMango
c73df54166
Added background_alpha param
5 years ago
jackun
60763420eb
Use defines instead of magic numbers for HUD hotkeys'
5 years ago
FlightlessMango
e81fa5776e
Added crosshair_color param
5 years ago
FlightlessMango
3c4fcda623
Added offset x/y in params
5 years ago
FlightlessMango
2590426ef6
Merge branch 'config'
5 years ago
FlightlessMango
2003ae93c9
Continue parsing overlay params without env
5 years ago
FlightlessMango
5a62a1b0de
Cleaning up
5 years ago
FlightlessMango
33f48c91be
Apply params from config file
5 years ago
FlightlessMango
ebc49ae8c5
Basic parse config
5 years ago
FlightlessMango
d578d612d4
Renamed overlay_param.c to .cpp
5 years ago