Code Monkey home page Code Monkey logo

cppneofetch's Introduction

cppneofetch

This Repo inspired from ss7m/paleofetch

You can config what you want to show on the screen or change the logo (except images).

Requirement

  • libx11
  • make
  • g++

Install

If you are using debian based distro you need to uncomment line 42th and comment line 43th in config.hpp before installation.

sudo make install

Run:

cppneofetch

Custom logo

I use a std::string data type vector to store the logo, you can also uncomment any LOGO or create a LOGO for yourself to use (make sure your LOGO has the same pattern as mine).

If I have a logo like this:

TTTTTTTTTTTT hhhh                                   hhhh
T::::::::::T h::h                                   h::h
T::::::::::T h::h                                   h::h
T:TT::::TT:T h::h                                   h::h
TT  T::T  TT h::h          aaaaaaaaa   nnn  nnnnnn  h::h
    T::T     h:::hhh       a::::::::a  n::nn::::::n h:::hhh
    T::T     h::::::hh     aaaaaaa:::a n::::::::::n h::::::hh
    T::T     h::::h:::h           a::a nn:::::::::n h::::h:::h
    T::T     h:::h h:::h    aaaaaa:::a  n:::nnn:::n h:::h h:::h
    T::T     h::h   h::h   a:::::::::a  n::n   n::n h::h   h::h
    T::T     h::h   h::h  a::aaaa::::a  n::n   n::n h::h   h::h
    T::T     h::h   h::h a::a    a:::a  n::n   n::n h::h   h::h
  TT::::TT   h::h   h::h a::a    a:::a  n::n   n::n h::h   h::h
  T::::::T   h::h   h::h a:::aaaa::::a  n::n   n::n h::h   h::h
  T::::::T   h::h   h::h  a::::::::a::a n::n   n::n h::h   h::h
  TTTTTTTT   hhhh   hhhh   aaaaaaaa aaa nnnn   nnnn hhhh   hhhh

After pasting it to logo.hpp, it pattern like this:

std::vector<std::string> LOGO = {
" TTTTTTTTTTTT hhhh                                   hhhh         ",
" T::::::::::T h::h                                   h::h         ",
" T::::::::::T h::h                                   h::h         ",
" T:TT::::TT:T h::h                                   h::h         ",
" TT  T::T  TT h::h          aaaaaaaaa   nnn  nnnnnn  h::h         ",
"     T::T     h:::hhh       a::::::::a  n::nn::::::n h:::hhh      ",
"     T::T     h::::::hh     aaaaaaa:::a n::::::::::n h::::::hh    ",
"     T::T     h::::h:::h           a::a nn:::::::::n h::::h:::h   ",
"     T::T     h:::h h:::h    aaaaaa:::a  n:::nnn:::n h:::h h:::h  ",
"     T::T     h::h   h::h   a:::::::::a  n::n   n::n h::h   h::h  ",
"     T::T     h::h   h::h  a::aaaa::::a  n::n   n::n h::h   h::h  ",
"     T::T     h::h   h::h a::a    a:::a  n::n   n::n h::h   h::h  ",
"   TT::::TT   h::h   h::h a::a    a:::a  n::n   n::n h::h   h::h  ",
"   T::::::T   h::h   h::h a:::aaaa::::a  n::n   n::n h::h   h::h  ",
"   T::::::T   h::h   h::h  a::::::::a::a n::n   n::n h::h   h::h  ",
"   TTTTTTTT   hhhh   hhhh   aaaaaaaa aaa nnnn   nnnn hhhh   hhhh  "
};

You must also comment other LOGO in logo.hpp.

References

cppneofetch's People

Contributors

nhat-thanh avatar

Stargazers

Hoang Van Hung avatar Vo Huy Thanh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.