diff --git a/.config/MangoHud/hud.conf b/.config/MangoHud/hud.conf new file mode 100644 index 0000000..09fae53 --- /dev/null +++ b/.config/MangoHud/hud.conf @@ -0,0 +1,32 @@ +### Config. + +no_display=0 +# hud_compact=1 +hud_no_margin=1 +font_size=11 +toggle_hud=F1 +toggle_preset=F4 +preset=5,6 + +### Graphics. + +fps_limit=165 +fps_limit_method=early +af=16 +vsync=3 +gl_vsync=1 + +### NOTE: temporary while presets do not work in flatpak. +throttling_status=1 +cpu_temp=1 +gpu_temp=1 +gpu_junction_temp=1 +device_battery=gamepad,mouse +frame_timing=0 +benchmark_percentiles=0 +battery=1 +battery_time=1 +time=1 +ram=1 +vram=1 +swap=1 diff --git a/.config/MangoHud/presets.conf b/.config/MangoHud/presets.conf new file mode 100644 index 0000000..df63084 --- /dev/null +++ b/.config/MangoHud/presets.conf @@ -0,0 +1,23 @@ +[preset 5] +throttling_status=1 +cpu_temp=1 +gpu_temp=1 +gpu_junction_temp=1 +device_battery=gamepad,mouse +frame_timing=0 +benchmark_percentiles=0 +battery=1 +battery_time=1 +time=1 +ram=1 +vram=1 +swap=1 + +[preset 6] +cpu_temp=1 +gpu_temp=1 +device_battery=gamepad,mouse +frame_timing=0 +benchmark_percentiles=0 +battery=1 +battery_time=1 diff --git a/.tmux.conf b/.config/tmux/tmux.conf similarity index 100% rename from .tmux.conf rename to .config/tmux/tmux.conf diff --git a/.gitignore b/.gitignore index 31b6117..19df521 100644 --- a/.gitignore +++ b/.gitignore @@ -13,12 +13,6 @@ # bash. !/.bashrc -# tmux. -!/.tmux.conf - -# Mangohud config. -!/.mangohud.conf - # dir structure !/app/ /app/* @@ -60,6 +54,14 @@ !/.config/ /.config/* +# Tmux config. +!/.config/tmux/ +!/.config/tmux/* + +# MangoHud config. +!/.config/MangoHud/ +!/.config/MangoHud/* + ## gtk-3.0 !/.config/gtk-3.0/ !/.config/gtk-3.0/* diff --git a/.local/share/flatpak/overrides/com.usebottles.bottles b/.local/share/flatpak/overrides/com.usebottles.bottles index e3e6456..ff607c7 100644 --- a/.local/share/flatpak/overrides/com.usebottles.bottles +++ b/.local/share/flatpak/overrides/com.usebottles.bottles @@ -1,6 +1,6 @@ [Context] -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 +filesystems=!xdg-download;/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;~/.config/MangoHud:ro [Environment] MANGOHUD=1 -MANGOHUD_CONFIGFILE=/var/home/voronind/.mangohud.conf +MANGOHUD_CONFIGFILE=/var/home/voronind/.config/MangoHud/hud.conf diff --git a/.local/share/flatpak/overrides/com.valvesoftware.Steam b/.local/share/flatpak/overrides/com.valvesoftware.Steam index a9162d4..0507819 100644 --- a/.local/share/flatpak/overrides/com.valvesoftware.Steam +++ b/.local/share/flatpak/overrides/com.valvesoftware.Steam @@ -1,8 +1,8 @@ [Context] devices=shm;kvm;dri features=canbus -filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;/var/home/voronind/.mangohud.conf:ro;/var/mnt/ +filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;/var/mnt/;~/.config/MangoHud:ro [Environment] -MANGOHUD_CONFIGFILE=/var/home/voronind/.mangohud.conf +MANGOHUD_CONFIGFILE=/var/home/voronind/.config/MangoHud/hud.conf MANGOHUD=1 diff --git a/.mangohud.conf b/.mangohud.conf deleted file mode 100644 index c695623..0000000 --- a/.mangohud.conf +++ /dev/null @@ -1,46 +0,0 @@ -# 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