ncneofetch: add ubuntu logo path #2494

pull/2497/head
nick black 3 years ago
parent 43654547a0
commit 8315f766bd
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -257,6 +257,10 @@ linux_ncneofetch(fetched_info* fi){
.name = "fedora", .name = "fedora",
// from redhat-lsb-core package // from redhat-lsb-core package
.logofile = "/usr/share/pixmaps/fedora-logo.png", .logofile = "/usr/share/pixmaps/fedora-logo.png",
}, {
.name = "ubuntu",
// package source? FIXME
.logofile = "/usr/share/unity/icons/launcher_bfb.png",
}, { }, {
.name = NULL, .name = NULL,
.logofile = NULL, .logofile = NULL,
@ -699,7 +703,7 @@ neologo_present(struct notcurses* nc, const char* nlogo){
ncplane_set_fg_default(n); ncplane_set_fg_default(n);
ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_ITALIC); ncplane_set_styles(n, NCSTYLE_BOLD | NCSTYLE_ITALIC);
if(notcurses_canopen_images(nc)){ if(notcurses_canopen_images(nc)){
ncplane_putstr_aligned(n, -1, NCALIGN_CENTER, "(no image file is known for your distro)\n"); ncplane_putstr_aligned(n, -1, NCALIGN_CENTER, "(no bitmap is known for your distro)\n");
}else{ }else{
ncplane_putstr_aligned(n, -1, NCALIGN_CENTER, "(notcurses was compiled without image support)\n"); ncplane_putstr_aligned(n, -1, NCALIGN_CENTER, "(notcurses was compiled without image support)\n");
} }

Loading…
Cancel
Save