home | blog | art | now | git gpg | email | rss

splashdown

Minimal bootsplash program
git clone https://pollux.codes/git/splashdown.git
Log | Files | Refs | README | LICENSE

config.def.h (674B)


      1 /*
      2  * Make sure to enable CONFIG_FB_DEVICE in your kernel.
      3  * This shouldn't need to be modified.
      4  */
      5 #define FB_DEV "/dev/fb0"
      6 
      7 /* Exclude particular OpenRC services when using OpenRC plugin */
      8 static const char *openrc_exclude[] = {""};
      9 
     10 /* Paths to search for splash images. */
     11 static const char *image_paths[] = {
     12 	"/etc/splashdown/splash.jpg"
     13 };
     14 
     15 /* Paths to search for fonts. */
     16 static const char *fonts[] = {
     17 	"/etc/splashdown/font.ttf",
     18 	"/usr/share/fonts/dejavu/DejaVuSansMono.ttf"
     19 };
     20 
     21 /* Size, color, and position of text. */
     22 static const int font_size = 32;
     23 static const int font_color = 0xffffff;
     24 
     25 static const int margin_x = 96;
     26 static const int margin_y = 96;