Skip to content

Commit

Permalink
Merge pull request #7 from slipstream8125/main
Browse files Browse the repository at this point in the history
Added content for Grab fetch script
  • Loading branch information
slipstream8125 authored Aug 11, 2024
2 parents 1c34858 + 0150971 commit 834defa
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
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.

0 comments on commit 834defa

Please sign in to comment.