Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Como colocar a informação de "Init System" no Neofetch? (Read 597 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Como colocar a informação de "Init System" no Neofetch?

Olá, pessoal! :D
Como posso configurar o Neofetch para o mesmo mostrar meu sistema de inicializção?
"If anyone says that systemd is the best init, remember, a shit surrounded by several flies is still shit!"

 

Re: Como colocar a informação de "Init System" no Neofetch?

Reply #1
Até onde eu sei, não há uma função para isso embutida no próprio neofetch, porém você pode editar a função print_info() na configuração do mesmo (~/.config/neofetch/config.conf) e usar a função prin para mostrar o que quiser:

Code: [Select]
print_info() {
    info title
    info underline

    info "OS" distro
    prin "Init" S6 # se liga no exemplo aqui
    info "Host" model
    info "Kernel" kernel
    info "Uptime" uptime
    info "Packages" packages
    info "Shell" shell
    info "Resolution" resolution
    info "DE" de
    info "WM" wm
    info "WM Theme" wm_theme
    info "Theme" theme
    info "Icons" icons
    info "Terminal" term
    info "Terminal Font" term_font
    info "CPU" cpu
    info "GPU" gpu
    info "Memory" memory

    info cols
}

test.png