lay groundwork for ncneofetch #550
parent
5608b8735e
commit
ffab8b5294
@ -0,0 +1,31 @@
|
||||
% ncneofetch(1)
|
||||
% nick black <nickblack@linux.com>
|
||||
% v1.5.1
|
||||
|
||||
# NAME
|
||||
|
||||
ncneofetch - Generate low-effort posts for r/unixporn
|
||||
|
||||
# SYNOPSIS
|
||||
|
||||
**ncneofetch**
|
||||
|
||||
# DESCRIPTION
|
||||
|
||||
**ncneofetch** renders an image (typically a distribution logo)
|
||||
and displays some system information. It is a blatant ripoff of
|
||||
**neofetch(1)** using **notcurses(3)**.
|
||||
|
||||
# OPTIONS
|
||||
|
||||
# NOTES
|
||||
|
||||
Optimal display requires a terminal advertising the **rgb** terminfo(5)
|
||||
capability, or that the environment variable **COLORTERM** is defined to
|
||||
**24bit** (and that the terminal honors RGB escapes), along with a good
|
||||
monospaced font supporting the Unicode Block Drawing Characters.
|
||||
|
||||
# SEE ALSO
|
||||
|
||||
**neofetch(1)**,
|
||||
**notcurses(3)**
|
@ -0,0 +1,9 @@
|
||||
#include <notcurses/notcurses.h>
|
||||
|
||||
int main(int argc, const char** argv){
|
||||
struct notcurses* nc = notcurses_init(NULL, NULL);
|
||||
if(nc == NULL){
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue