vinceliuice/grub2-themes

Cannot set splashImage with nix config

codeiimon opened this issue · 1 comments

Hello, Ive been running into this issue and can't seem to find answer so here I am. When I try to add a custom background image i get the it can't seem to find the filepath giving me the error:
convert: unable to open image '/home/user/background.jpg': No such file or directory @ error/blob.c/OpenBlob/3596.
I'm not sure what i'm doing wrong and would like some direction.

Here is my grub2-theme config:

    grub2-theme = { # Vinceliuice Grub 2 Theme Customization
      enable = true;
      theme = "vimix";
      screen =  "2k";
      icon = "white";
      splashImage = "/home/user/background.jpg";
      footer = true;

Ok i just figured it out a few minutes after typing this. I should remove the quotes form the file path. Should look like this:

splashImage = /home/user/background.jpg

I was following the flake file, and didn't think about removing the quotes. My bad.