fix: neocord logo and logo_tooltip

User couldn't set the logo url, also logo_tooltip didn't allow custom string because of the enum.
This commit is contained in:
Redyf 2024-02-16 14:29:11 -03:00 committed by Gaétan Lepage
parent 9ec2de03af
commit d656834e3d
2 changed files with 3 additions and 3 deletions

View file

@ -20,11 +20,11 @@ with lib;
`:lua package.loaded.neocord:update()` `:lua package.loaded.neocord:update()`
''; '';
logo = helpers.defaultNullOpts.mkEnum ["auto" "url"] "auto" '' logo = helpers.defaultNullOpts.mkStr "auto" ''
Update the Logo to the specified option ("auto" or url). Update the Logo to the specified option ("auto" or url).
''; '';
logo_tooltip = helpers.defaultNullOpts.mkEnum ["null" "string"] "null" '' logo_tooltip = helpers.mkNullOrStr ''
Sets the logo tooltip Sets the logo tooltip
''; '';

View file

@ -47,7 +47,7 @@
#General options #General options
auto_update = true; auto_update = true;
logo = "auto"; logo = "auto";
logo_tooltip = null; logo_tooltip = "Nixvim";
main_image = "language"; main_image = "language";
client_id = "1157438221865717891"; client_id = "1157438221865717891";
log_level = null; log_level = null;