Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added content for Grab fetch script #7

Merged
merged 2 commits into from
Aug 11, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added intro for Grab
  • Loading branch information
slipstream8125 committed Aug 11, 2024
commit a91291c4e06680f0e954fe7f3c82f50da05945c8
23 changes: 23 additions & 0 deletions src/content/docs/tools/grab.md
Original file line number Diff line number Diff line change
@@ -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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions src/content/docs/tools/index.md

This file was deleted.