diff --git a/src/content/docs/tools/grab.md b/src/content/docs/tools/grab.md new file mode 100644 index 0000000..0063cbf --- /dev/null +++ b/src/content/docs/tools/grab.md @@ -0,0 +1,23 @@ +--- +title: Grab +--- + +![Screenshot of Grab](./grab_screenshots/fetch.png) + +# Introduction + +Grab is a custom fetch script made for StratOS. + +# What is it made using ? + +Grab is made using POSIX `sh` and `C++`. + +# What does it do ? + +Grab is a custom fetch script made for our operating system. Upon running the command, it shows an overview of the specifications ofthe host system just like [neofetch](https://github.com/dylanaraps/neofetch) + +# How does it work + +Grab uses shell commands inside C++. The C++ part of the code handles all the layout calculations and printing. The shell script (under the shell\_script variable) fetches the info. + +The reason for using shell scripts is that they are easier to expand upon than C++ code. However, due to the fact that printing in shell is very slow for a cosmetic interface like a fetch script, C++ has been used alongside shell scripts. diff --git a/src/content/docs/tools/grab_screenshots/fetch.png b/src/content/docs/tools/grab_screenshots/fetch.png new file mode 100644 index 0000000..3056704 Binary files /dev/null and b/src/content/docs/tools/grab_screenshots/fetch.png differ diff --git a/src/content/docs/tools/index.md b/src/content/docs/tools/index.md deleted file mode 100644 index 15cd4f9..0000000 --- a/src/content/docs/tools/index.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -title: Grab ----