kittykatt / fetch Goto Github PK
View Code? Open in Web Editor NEWA BASH screenshot, system information, and logo display tool.
License: MIT License
A BASH screenshot, system information, and logo display tool.
License: MIT License
Needed to mirror screenFetch functionality.
Detect currently running WM and theme.
Needs:
Questions:
Old screenFetch functionality:
-p Portrait mode
This flag allowed for you to output information in portrait mode, outputting the ASCII logo and then all of the info below that. Before, this would be left-aligned. I'd like to see if I can get this text centered on the logo. Or the logo centered on the text. Whichever is longer. This may require a refactor of the logic we currently use to output the ASCII and information and more completely separate the two sections.
Old screenFetch functionality:
-c string You may change the outputted colors with -c. The format is
as follows: [0-9][0-9],[0-9][0-9]. The first argument controls the
ASCII logo colors and the label colors. The second argument
controls the colors of the information found. One argument may be
used without the other. For terminals supporting 256 colors argument
may also contain other terminal control codes for bold, underline etc.
separated by semicolon. For example -c "4;1,1;2" will produce bold
blue and dim red.
This allowed to set colors in output dynamically. The old way was gross as far as parsing it went, but it worked for the most part. With the addition of the ${config_ascii[colors]} array, this will be easier to reference and act upon. Need to determine if the old way of INPUTTING the information in the argument is worth keeping or if we need to rethink that logic.
Needed to mirror screenFetch functionality.
Detect current running DE (or none) and current GTK2/3 theme.
Needs:
Questions:
Because I want to. I like them better. That's all.
Describe the bug
RPM based distributions take a long time to run package counts.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
An almost instant output
Screenshots
If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):
fetch --version
bash --version
or echo ${BASH_VERSION}
inside a Bash shell)Additional context
Add any other context about the problem here.
Needed to mirror screenFetch functionality.
Detect current resolution.
Needs:
Needed to mirror screenFetch functionality.
Detect in-use memory and total memory.
Needs:
Old screenFetch functionality:
-d '+var;-var;var' Allows for setting what information is displayed
on the command line. You can add displays with +var,var. You
can delete displays with -var,var. Setting without + or - will
set display to that explicit combination. Add and delete statements
may be used in conjunction by placing a ; between them as so:
+var,var,var;-var,var. See above to find supported display names.
This flag allowed for dynamically setting the displayed information upon execution. With the introduction of a configuration file and ${config_global[info]}, I'm not entirely sure this is necessary but for completion's sake, I'm creating this issue.
This is optional.
Old screenFetch functionality:
-L Display ASCII distribution logo only.
This allowed for ONLY outputting the ASCII logo. This was good for just artful terminal displays or for using the script in another info-grabbing output. This might require a little rethinking of how to separate the ASCII and info printing from each other in a more complete way ( related: #15 )
Old screenFetch functionality:
-n Display text only
This allowed for ONLY outputting the information. This might require a little rethinking of how to separate the ASCII and info printing from each other in a more complete way ( related: #16 )
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.