From 0556b433bf6f58d837dae4b74ddea25260ca64c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Fri, 21 Jun 2024 21:34:05 +0900 Subject: =?UTF-8?q?=E3=82=B7=E3=82=A7=E3=83=AB=E6=83=85=E5=A0=B1=E3=81=AE?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index 896ab88..25e7b0f 100644 --- a/main.c +++ b/main.c @@ -15,6 +15,7 @@ #include "src/packages.h" #include "src/resolution.h" #include "src/wm.h" +#include "src/shell.h" #include "src/cpu.h" #include "src/gpu.h" #include "src/memory.h" @@ -200,6 +201,14 @@ int main(int argc, char *argv[]) { lc++; } + const char *shell = display_shell(); + if (shell) { + printf("%s ", LOGO[lc]); + printf("%sShell%s: %s\n", color, reset, shell); + free((void *)shell); + lc++; + } + const char *cpu = display_cpu(); if (cpu) { printf("%s ", LOGO[lc]); @@ -228,7 +237,6 @@ int main(int argc, char *argv[]) { // TODO: // * libc - // * シェル // * 端末 // * ストレージ -- cgit v1.2.3