Skip to content

StratOS-Linux/grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grab

asd

About

DISCLAIMER: grab is not fully complete yet, it is a WIP!

  • A fetch tool written in POSIX sh and C++

  • Meant for use in StratOS (A Arch-based distro made by Linux hobbyists)

  • For further info on how to contribute to this project, refer to CONTRIBUTING.md

Tasks

  • Fetch the info dynamically
  • Cache the info for faster execution
  • Major code clean up (most likely a rewrite)
  • Configuration file
  • Testing on multiple systems

Why shell inside C++?

The C++ part handles all the layout calculations and printing. The shell script (under shell_script variable) is the script that fetches the info.

The reason for using a shell script for fetching is its simpler to expand on. Additionally shell scripts already exist for this job (making use of neofetch's functions here)

Printing in shell is simply too slow for such a cosmetic interface, hence the use of C++.

Contributing

C++: WIP

sh:

  • Functionalize everything in a format like:
# Description of function
# (paramters, asd=default_value)
function_name() {
    ...
}
  • For further info on how to contribute to this project, refer to CONTRIBUTING.md

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •