mangohud : move config to a file.

This commit is contained in:
Dmitry Voronin 2023-11-11 16:16:07 +03:00
parent 3b41e7f962
commit 484646dbe8
4 changed files with 51 additions and 2 deletions

3
.gitignore vendored
View file

@ -16,6 +16,9 @@
# tmux. # tmux.
!/.tmux.conf !/.tmux.conf
# Mangohud config.
!/.mangohud.conf
# dir structure # dir structure
!/app/ !/app/
/app/* /app/*

View file

@ -1,5 +1,5 @@
[Context] [Context]
filesystems=!xdg-download;~/media/bottle;/var/mnt/storage/cold_1/tmp:ro;/var/mnt/storage/hot/media/bottle;/var/mnt/storage/hot/media/game;~/download:ro;/var/mnt/storage/cold_1/media/game/:ro filesystems=!xdg-download;/var/home/voronind/.mangohud.conf:ro;/var/mnt/storage/cold_1/media/game/:ro;~/download:ro;/var/mnt/storage/hot/media/game;/var/mnt/storage/hot/media/bottle;/var/mnt/storage/cold_1/tmp:ro;~/media/bottle
[Environment] [Environment]
MANGOHUD=1 MANGOHUD=1

View file

@ -1,7 +1,7 @@
[Context] [Context]
devices=shm;kvm;dri devices=shm;kvm;dri
features=canbus features=canbus
filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;/var/mnt/ filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;/var/home/voronind/.mangohud.conf:ro;/var/mnt/
[Environment] [Environment]
MANGOHUD_CONFIGFILE=/var/home/voronind/.mangohud.conf MANGOHUD_CONFIGFILE=/var/home/voronind/.mangohud.conf

46
.mangohud.conf Normal file
View file

@ -0,0 +1,46 @@
# CPU temps.
cpu_temp=1
# GPU temps.
gpu_temp=1
#gpu_junction_temp=1
# 1 to hide by default.
no_display=0
# Compact UI.
#hud_compact=1
# Key to toggle hud.
toggle_hud=F1
# FPS limit. Early is smooth and late is low lat.
fps_limit=165
fps_limit_method=early
# Anisotropic filtering.
af=16
# Show battery remaining.
device_battery=gamepad,mouse
# Font size.
font_size=14
# Ram/Vram.
#ram=1
#swap=1
#vram=1
# Vsync.
vsync=3
gl_vsync=1
# Enable everything.
#full=1
# Disable graph.
frame_timing=0
# Percentiles.
benchmark_percentiles=0