Mangohud : Move config to nix.

This commit is contained in:
Dmitry Voronin 2024-02-25 00:09:17 +03:00
parent 912b96ddf4
commit d1551afbc7
6 changed files with 18 additions and 85 deletions

View file

@ -1,33 +0,0 @@
### Config.
no_display=0
# hud_compact=1
hud_no_margin=1
font_size=12
toggle_hud=F1
fps_sampling_period=1000
# toggle_preset=Shitf_L+F1
# 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

View file

@ -1,23 +0,0 @@
[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

View file

@ -1,3 +0,0 @@
{
"detachKeys": "ctrl-z"
}

View file

@ -7,6 +7,6 @@
# Mangohud. # Mangohud.
MANGOHUD = "true"; MANGOHUD = "true";
MANGOHUD_CONFIGFILE = "~/.config/MangoHud/MangoHud.conf"; MANGOHUD_CONFIG = "no_display=0,hud_no_margin=1,font_size=12,toggle_hud=F1,fps_sampling_period=1000,fps_limit=165,fps_limit_method=early,af=16,vsync=3,gl_vsync=,,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";
}; };
} }

View file

@ -11,22 +11,6 @@ in {
customRC = '' customRC = ''
lua dofile("${nvimSrc}/key/Rekey.lua") lua dofile("${nvimSrc}/key/Rekey.lua")
lua dofile("${nvimSrc}/key/Leader.lua") lua dofile("${nvimSrc}/key/Leader.lua")
lua dofile("${nvimSrc}/key/Autocomplete.lua")
lua dofile("${nvimSrc}/key/Buffer.lua")
lua dofile("${nvimSrc}/key/Comment.lua")
lua dofile("${nvimSrc}/key/Common.lua")
lua dofile("${nvimSrc}/key/Filetree.lua")
lua dofile("${nvimSrc}/key/Fold.lua")
lua dofile("${nvimSrc}/key/Gitsigns.lua")
lua dofile("${nvimSrc}/key/Lsp.lua")
lua dofile("${nvimSrc}/key/Navigation.lua")
lua dofile("${nvimSrc}/key/Sort.lua")
lua dofile("${nvimSrc}/key/Telescope.lua")
lua dofile("${nvimSrc}/key/Terminal.lua")
lua dofile("${nvimSrc}/key/Todo.lua")
lua dofile("${nvimSrc}/key/Trouble.lua")
lua dofile("${nvimSrc}/key/Update.lua")
lua dofile("${nvimSrc}/key/Whichkey.lua")
lua dofile("${nvimSrc}/config/Autoread.lua") lua dofile("${nvimSrc}/config/Autoread.lua")
lua dofile("${nvimSrc}/config/Etc.lua") lua dofile("${nvimSrc}/config/Etc.lua")
lua dofile("${nvimSrc}/config/Search.lua") lua dofile("${nvimSrc}/config/Search.lua")
@ -49,6 +33,22 @@ in {
lua dofile("${nvimSrc}/plugin/Align.lua") lua dofile("${nvimSrc}/plugin/Align.lua")
lua dofile("${nvimSrc}/plugin/Treesitter.lua") lua dofile("${nvimSrc}/plugin/Treesitter.lua")
lua dofile("${nvimSrc}/plugin/Fold.lua") lua dofile("${nvimSrc}/plugin/Fold.lua")
lua dofile("${nvimSrc}/key/Autocomplete.lua")
lua dofile("${nvimSrc}/key/Buffer.lua")
lua dofile("${nvimSrc}/key/Comment.lua")
lua dofile("${nvimSrc}/key/Common.lua")
lua dofile("${nvimSrc}/key/Filetree.lua")
lua dofile("${nvimSrc}/key/Fold.lua")
lua dofile("${nvimSrc}/key/Gitsigns.lua")
lua dofile("${nvimSrc}/key/Lsp.lua")
lua dofile("${nvimSrc}/key/Navigation.lua")
lua dofile("${nvimSrc}/key/Sort.lua")
lua dofile("${nvimSrc}/key/Telescope.lua")
lua dofile("${nvimSrc}/key/Terminal.lua")
lua dofile("${nvimSrc}/key/Todo.lua")
lua dofile("${nvimSrc}/key/Trouble.lua")
lua dofile("${nvimSrc}/key/Update.lua")
lua dofile("${nvimSrc}/key/Whichkey.lua")
''; '';
}; };
}; };

10
.gitignore vendored
View file

@ -58,10 +58,6 @@
!/.config/linux/ !/.config/linux/
!/.config/linux/** !/.config/linux/**
# MangoHud config.
!/.config/MangoHud/
!/.config/MangoHud/**
# Nix. # Nix.
!/.config/nix/ !/.config/nix/
!/.config/nix/** !/.config/nix/**
@ -80,15 +76,11 @@
# Htop settings. # Htop settings.
!/.config/htop/ !/.config/htop/
!/.config/htop/** !/.config/htop/htoprc
# User dirs. # User dirs.
!/.config/user-dirs.dirs !/.config/user-dirs.dirs
# Ssh.
!/.ssh/
/.ssh/**
# Local configs. # Local configs.
!/.local/ !/.local/
/.local/* /.local/*