Commit Graph

28 Commits

Author SHA1 Message Date
FlightlessMango
ac85815d82 Changed output_file to output_folder 2020-08-15 15:14:55 +02:00
jackun
edf9f95517
Use std::locale::classic with confiog file ifstream, just in case 2020-06-19 16:01:18 +03:00
jackun
f5e3f3b73b
[config] Add MANGOHUD_CONFIGFILE envvar for specific configuration file
Issue #104
2020-03-29 00:05:52 +02:00
jackun
25b0adfbf9
Move Wine exe name code from config.cpp to get_wine_exe_name(...) 2020-03-25 17:11:29 +02:00
jackun
341aa21b87
[config] Move options map and config_file_path to overlay_params 2020-03-16 18:32:48 +02:00
FlightlessMango
c5dad16612 Listen for modify on config file 2020-03-16 16:48:12 +01:00
jackun
f7a7256374
Clear options map so reloading config files actually has an effect 2020-03-15 14:37:42 +02:00
jackun
6b4103eae9
[config] Parse Wine application name without absolute path 2020-03-15 13:09:51 +02:00
jackun
50cef9621b
Remove ~/.local/share/MangoHud/MangoHud.conf support 2020-03-13 18:37:55 +02:00
jackun
72d7f6ef71
Print also a reason for skipping a config file 2020-03-13 16:14:58 +02:00
jackun
417b1aac8d
config: trim only surrounding whitespace 2020-03-02 22:53:29 +02:00
jackun
9053b63142
Allocate instance_data with "new" 2020-02-18 11:49:09 +02:00
jackun
ad2ed4a99a
config: load highest priority config available only 2020-02-18 09:32:45 +02:00
jackun
f7e7146883
config: find_last_of can search for multiple characters, doh 2020-02-18 00:59:56 +02:00
jackun
6a45ac84b3
config: sometimes wine exe has forward-slashes instead 2020-02-17 13:52:10 +02:00
jackun
65b90fc01b
config file: respect XDG dirs
Other half of #37
2020-02-15 13:23:18 +02:00
jackun
67eab673d8
Override previous setting, std::unordered_map::insert() does not. 2020-02-14 08:45:22 +02:00
jackun
69cf83d3bc
config file: print that config file is skipped if we failed to open it 2020-02-13 15:19:42 +02:00
jackun
3e0eda559d
print if done parsing config file 2020-02-13 13:48:29 +02:00
jackun
6086a6b9ab
config file: try to detect Wine executable's path 2020-02-13 13:45:33 +02:00
jackun
169d5ff99a
Search configs in ~/.config/MangoHud 2020-02-12 23:10:19 +02:00
jackun
08debe5d09
Add per-executable config file support
* executable's name + ".conf" in config dir
* "MangoHud.conf" in executable's folder
2020-02-12 23:00:33 +02:00
jackun
74c9803087
config file: if parameter line has no equal sign, default value to 1 2020-02-12 22:27:00 +02:00
FlightlessMango
f56c53c152 Removed unused header 2020-02-10 16:59:49 +01:00
FlightlessMango
2003ae93c9 Continue parsing overlay params without env 2020-02-10 14:57:22 +01:00
FlightlessMango
5a62a1b0de Cleaning up 2020-02-10 11:03:39 +01:00
FlightlessMango
33f48c91be Apply params from config file 2020-02-10 10:32:22 +01:00
FlightlessMango
ebc49ae8c5 Basic parse config 2020-02-10 09:37:19 +01:00