Closed NovaViper closed 2 months ago
MangoHud settings after using Stylix
[...]
font_file=/nix/store/sskwj7av3gv6n5hl7r0zx8w7jhj3wa64-mangohud-stylix.ttf
This line is oddly Nix-specific and generated by https://github.com/danth/stylix/blob/a38d900ddf2c65658cd242afdee90c3ec2d6b810/modules/mangohud/hm.nix#L7-L15 at https://github.com/danth/stylix/blob/a38d900ddf2c65658cd242afdee90c3ec2d6b810/modules/mangohud/hm.nix#L21 Does MangoHud work when manually removing this font_file
line:
# This here is only an example workflow to edit the Nix-generated '$FILE' file.
mv "$FILE" "${FILE}.bak"
cp --dereference "${FILE}.bak" "$FILE"
$EDITOR "$FILE"
these settings work just fine prior to using stylix
If removing the font_file
line does not resolve the issue, does reverting https://github.com/danth/stylix/commit/a38d900ddf2c65658cd242afdee90c3ec2d6b810 do so?
Does MangoHud work when manually removing this
font_file
line:
Removing the line made Mangohud work again!
cc: @RANKSHANK, https://github.com/danth/stylix/pull/260
The following code snippets are causing MangoHud issues:
I was able to reproduce this, however I had to switch to Cantarell.
So far I've found:
Does anyone have other non working fonts? I've sucessfully run Ubuntu, Liberation, Roboto, Fira, Monaspace, JetBrains, Carlito, and Comic Relief.
🤔 Oddly I'm using that same font and it still didn't work @RANKSHANK
As a non-MangoHud user I do not have the bandwidth to properly implement the fix. Any help would be greatly appreciated.
For reference, https://github.com/danth/stylix/issues/308 acts as a tracking issue.
Closed by https://github.com/danth/stylix/pull/307 and tracked at https://github.com/danth/stylix/issues/308.
I'm not sure exactly why, but I notice mangohud just completely stops working when I let stylix modify its theme. I get an error like this when I run goverlay (settings manager for MangoHud)
I already have some settings configured for mangohud included with my flake (with the colors commented out so it doesn't conflict), and these settings work just fine prior to using stylix. Mangohud settings before using Stylix
MangoHud settings after using Stylix
Stylix settings
NixOS info: