Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HenryDawson123/sfetch
A simple fetch program
https://github.com/HenryDawson123/sfetch
command-line cpp fast fetch linux minimalist neofetch terminal uptime
Last synced: 3 months ago
JSON representation
A simple fetch program
- Host: GitHub
- URL: https://github.com/HenryDawson123/sfetch
- Owner: HenryDawson123
- License: mit
- Created: 2020-03-28T11:21:39.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-27T20:15:21.000Z (about 4 years ago)
- Last Synced: 2024-01-27T11:43:18.997Z (6 months ago)
- Topics: command-line, cpp, fast, fetch, linux, minimalist, neofetch, terminal, uptime
- Language: C++
- Size: 173 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-ricing - sfetch - A simple fetch program. (C++) (Packages / CLI Tools)
README
sfetch
======A simple fetch program designed to be fast and small.
Why it was made:
----------------This program was made to be faster and simpler than neofetch, made more for opening in a terminal as the terminal is launched, it had to be fast and small enough to be unobtrusive.
Installation Instructions:
--------------------------To install:
Go into the sfetch directory:
```$ cd sfetch/```
Then:
```$ sudo make install```
Finally to run the program:
```$ sfetch```
If you wish to uninstall the program:
```$ sudo make uninstall```
TODO:
-----
- ~~Provide a makefile for easier installation~~
- Ascii art at some stage
- ~~Update uptime to include days aswell as hours and minutes~~
- Improve source code readability and notation
- (A very big maybe) Include support for MacOS and WindowsConfiguration Instructions:
---------------------------To configure and change this program you will need to edit the source code and recompile:
You can comment and uncomment the lines in `int main()` to change what information is displayed.
By default the Editor, Visual and Architecture options are commented out, in order to display them you should uncomment them.
Please Note:
------------Some shells do not define the environmental variables `$EDITOR` or `$VISUAL` by default, if you wish to show these in sfetch, please ensure these are defined in your shell configuration file before uncommenting the lines in `int main()`.
To check whether your shell has these environmental variables defined please enter:
```$ echo $VISUAL && echo $EDITOR```
you should then recieve an output of two lines, with your Visual and Editor on each like so:
`nvim`
`nvim`
If your output has these two variables, your good to go! You can then uncomment the two lines in `int main()`.
If one or both of these lines are blank, please consult the configuration instructions for your specific shell to define environmental variables.