This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Releases: dylanaraps/neofetch
Releases · dylanaraps/neofetch
Rewrite Complete!
I finished my rewrite!
Here's what's new:
- The script is now way faster.
- You can now pick what gets displayed and where using an array
at the top of the script. This also allows you to:- underline anything
- print custom info
- print a custom title
- add linebreaks
- Mac OS X support and a base that allows us to add other OS later.
- You can now specify split size.
- Fixed issue with 2 line prompts
- Fixed image not displaying in vte based terminals
- Move all config options to the top of the script
- Moved almost everything to a function.
- Removed wmctrl dependency
- Made variable names more consistent
- Added shell substitution for cpu output. This means
that the cpu output won't include: (tm) (r) "Processor" "CPU" - Optimized all get* functions
- Use variable substitution where possible as it's faster than sed/awk
- Moved crop and smart_crop to crop_mode
- Removed --size and --padding in favor of --split_size
Here's what I'm currently working on:
- Window support (I'm almost done)
- Option to swap the image and text around
- Imagemagick optimizations
- Cleanup of info array handling
- More info outputs. Now that it's easy to customize what's printed and
everything is a function we can add optional support for pretty much anything.- Resolution
- GTK themes
- Terminal Font
- GPU
- IP
- etc
Issues:
- Uptime doesn't work in OS X yet.
- If the customizable info includes a third colon then it breaks.
I'd love to hear your thoughts.
Dynamic Images and Padding
Changelog:
- Added flag to disable bold text
--nobold
- Added flag to disable text wrapping
--nowrap
- Moved to using only printf instead of a mix of echo/printf
- The script now aligns the cursor to the bottom of the
terminal instead of using a hardcoded amount of newlines - Image size and padding is now dynamic, the only difference on the user
side is that instead of setting a long line of spaces as
padding, you set your font width. This means that you set the
var once and the script will just work at any window size. - You can disable dynamic images and go back to the old
behaviour with by using the--size
or the in config var.
$img_auto - Manual padding now takes a count, so
--padding 10
will pad
the text 10 spaces. - tput is now a dependency because we need (tput cols/lines/cup)
for the dynamic images and it allows us to support more terminals. - Color block width can now be changed with the flag
--blockwidth
.
It takes a count like--padding
so--blockwidth 10
will make
the color blocks 10 spaces wide.
Let me know if you're having issues.