diff --git a/README.md b/README.md index 896ec28b..a01087c8 100644 --- a/README.md +++ b/README.md @@ -364,7 +364,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu | `pci_dev` | Select GPU device in multi-gpu setups | | `permit_upload` | Allow uploading of logs to Flightlessmango.com | | `picmip` | Mip-map LoD bias. Negative values will increase texture sharpness (and aliasing). Positive values will increase texture blurriness `-16`-`16` | -| `position=` | Location of the HUD: `top-left` (default), `top-right`, `middle-left`, `middle-right`, `bottom-left`, `bottom-right`, `top-center`, `bottom_center` | +| `position=` | Location of the HUD: `top-left` (default), `top-right`, `middle-left`, `middle-right`, `bottom-left`, `bottom-right`, `top-center`, `bottom-center` | | `procmem`
`procmem_shared`, `procmem_virt`| Displays process' memory usage: resident, shared and/or virtual. `procmem` (resident) also toggles others off if disabled | | `ram`
`vram` | Display system RAM/VRAM usage | | `read_cfg` | Add to MANGOHUD_CONFIG as first parameter to also load config file. Otherwise only `MANGOHUD_CONFIG` parameters are used | diff --git a/src/overlay_params.cpp b/src/overlay_params.cpp index 794a81c7..c04605d6 100644 --- a/src/overlay_params.cpp +++ b/src/overlay_params.cpp @@ -88,6 +88,8 @@ parse_position(const char *str) return LAYER_POSITION_BOTTOM_RIGHT; if (!strcmp(str, "top-center")) return LAYER_POSITION_TOP_CENTER; + if (!strcmp(str, "bottom-center")) + return LAYER_POSITION_BOTTOM_CENTER; return LAYER_POSITION_TOP_LEFT; }