From 944c4cf4926301c45c06fb8ca03387d1406e7f46 Mon Sep 17 00:00:00 2001 From: Angelo Noto Date: Fri, 26 Jun 2026 20:23:03 -0400 Subject: [PATCH] Add mangohud --- bash/.bashrc | 6 -- bash/.bashrc.d/mango.bash | 6 ++ git/.gitignore_global | 9 +++ mangohud/.config/MangoHud/MangoHud.conf | 77 +++++++++++++++++++++++++ 4 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 bash/.bashrc.d/mango.bash create mode 100644 git/.gitignore_global create mode 100644 mangohud/.config/MangoHud/MangoHud.conf diff --git a/bash/.bashrc b/bash/.bashrc index ef10f73..387b796 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -13,12 +13,6 @@ if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then fi export PATH -# export LC_TIME=C -export MANGOHUD_CONFIGFILE=~/.config/MangoHud/MangoHud.conf - -# Swap xbox for playstation -export SDL_GAMECONTROLLER_USE_BUTTON_LABELS=0 - # Uncomment the following line if you don't like systemctl's auto-paging feature: # export SYSTEMD_PAGER= diff --git a/bash/.bashrc.d/mango.bash b/bash/.bashrc.d/mango.bash new file mode 100644 index 0000000..06890bb --- /dev/null +++ b/bash/.bashrc.d/mango.bash @@ -0,0 +1,6 @@ +if [[ -d ~/.config/MangoHud ]]; then + export MANGOHUD_CONFIGFILE=~/.config/MangoHud/MangoHud.conf + + # Swap xbox for playstation + export SDL_GAMECONTROLLER_USE_BUTTON_LABELS=0 +fi \ No newline at end of file diff --git a/git/.gitignore_global b/git/.gitignore_global new file mode 100644 index 0000000..095373b --- /dev/null +++ b/git/.gitignore_global @@ -0,0 +1,9 @@ +# git config --global core.excludesfile ~/.gitignore_global + +# Windows +Thumbs.db +Desktop.ini + + +# Python +uv.lock diff --git a/mangohud/.config/MangoHud/MangoHud.conf b/mangohud/.config/MangoHud/MangoHud.conf new file mode 100644 index 0000000..dd0660d --- /dev/null +++ b/mangohud/.config/MangoHud/MangoHud.conf @@ -0,0 +1,77 @@ +################### File Generated by Goverlay ################### +legacy_layout=false +offset_x=0 +offset_y=5 # move down a bit + + +horizontal=1 +position=top-center +background_alpha=0.6 +round_corners=10 +background_alpha=0.6 +background_color=000000 +horizontal_stretch=0 + +font_size=24 +text_color=FFFFFF +# position=top-center +toggle_hud=Shift_R+F4 +pci_dev=0:01:00.0 +table_columns=3 +# frame_timing +gpu_text=GPU +gpu_stats +gpu_load_change +gpu_load_value=50,90 +gpu_load_color=FFFFFF,FFAA7F,CC0000 +gpu_temp +gpu_power +gpu_color=2E9762 +cpu_text=CPU +cpu_stats + +cpu_load_change +cpu_load_value=50,90 +cpu_load_color=FFFFFF,FFAA7F,CC0000 +cpu_temp +#cpu_power +cpu_color=2E97CB +# io_read +# io_write +# io_color=A491D3 +time# +vram +vram_color=AD64C1 +vram_color=AD64C1 +ram +ram_color=C26693 +# battery +# battery_color=00FF00 +fps +# engine_version +engine_color=EB5B5B + +frametime_color=FFFFFF +fps_limit_method=early +engine_short_names +toggle_fps_limit=Shift_L+F1 + +fps_limit=144 +fps_color_change +fps_color=B22222,FDFD09,39F900 +fps_value=30,60 +# gpu_name + +#offset=0 + +vsync=1 +# gamemode +time_format=%F %T %Z + + +output_folder=/home/anoto/logs +log_duration=30 +autostart_log=0 +log_interval=100 +blacklist=zenity,protonplus,lsfg-vk-ui,bazzar,gnome-calculator,pamac-manager,lact,ghb,bitwig-studio,ptyxis,yumex +