From 484646dbe85b23a2c2fb3aa78fc6f1da6b9e341f Mon Sep 17 00:00:00 2001 From: desktop Date: Sat, 11 Nov 2023 16:16:07 +0300 Subject: [PATCH] mangohud : move config to a file. --- .gitignore | 3 ++ .../flatpak/overrides/com.usebottles.bottles | 2 +- .../flatpak/overrides/com.valvesoftware.Steam | 2 +- .mangohud.conf | 46 +++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 .mangohud.conf diff --git a/.gitignore b/.gitignore index dc4ec9b..31b6117 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,9 @@ # tmux. !/.tmux.conf +# Mangohud config. +!/.mangohud.conf + # dir structure !/app/ /app/* diff --git a/.local/share/flatpak/overrides/com.usebottles.bottles b/.local/share/flatpak/overrides/com.usebottles.bottles index 9ade958..e3e6456 100644 --- a/.local/share/flatpak/overrides/com.usebottles.bottles +++ b/.local/share/flatpak/overrides/com.usebottles.bottles @@ -1,5 +1,5 @@ [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] MANGOHUD=1 diff --git a/.local/share/flatpak/overrides/com.valvesoftware.Steam b/.local/share/flatpak/overrides/com.valvesoftware.Steam index 071095f..a9162d4 100644 --- a/.local/share/flatpak/overrides/com.valvesoftware.Steam +++ b/.local/share/flatpak/overrides/com.valvesoftware.Steam @@ -1,7 +1,7 @@ [Context] devices=shm;kvm;dri 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] MANGOHUD_CONFIGFILE=/var/home/voronind/.mangohud.conf diff --git a/.mangohud.conf b/.mangohud.conf new file mode 100644 index 0000000..01a6d8b --- /dev/null +++ b/.mangohud.conf @@ -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