Releases: alba4k/albafetch
v4.2.1
v4.2
Changes since v4.1
New Features
Modules
icon_theme
: prints the current icon theme for GTKcursor_theme
: prints the current cursor theme for GTKbattery
: prints the current battery percentage and status
Config syntax
- any invalid escape sequence like "\X" will now just be reduced to "X"
- it is now possible to include "#" and ";" in your config without them counting as a comment, as long as they are enclosed between two
"
(which should always be true anyway) col_block_len
was removed, in favor ofcol_block_str
, which contains the entire string that is printed for each colorcol_background
was added, which controls whether the background or the background ofcol_block_str
is colored (vs. the foreground)bat_status
toggles whether the battery status is shown
Command line arguments
- using
--logo none
will prevent any logo from being displayed - the debug script can now be used with
--no-pip
, this won't print the # of packages installed using pip (because of speed concerns)
Other changes
- the number of lines a custom ascii art may have was reduced to 40 (from 47) but the maximum length of each line got increased to 256B (~70% increase in total size)
- the buffer size for single lines has been raised to 1024B
- the cpu architecture will now be printed in brackets (eg:
Arch Linux x86_64
->Arch Linux (x86_64)
) - added a logo for Mageia
- added a logo for NixOS
- Terminator will now be shown as terminal
- Trying to use TERM_PROGRAM to find the terminal name
Bug fixes
Noticeable fixes
- Any portion that might have shown white as
\e[37m
will now use\e[97m
- The amount of packages installed using rpm should now be much faster
- Logo wuoldn't print correctly on EndeavourOS and Asahi Fedora
- not printing "None" as model version (VMware VMs)
Technical fixes
- Reduced the memory usage when not using --ascii (increased when it is used)
src/info.c
was split up into multiple files (insrc/info/
)- libcurl is now not used anymore to get the public ip
- the length of logos is calculated on the fly, resulting in lower memory usage
Dependencies
- Termux API is needed to get battery info on Android
New Contributors
- @FelixFourcolor made their first contribution in #49
- @hellfire103 made their first contribution in #81
- @barracuda156 made their first contribution in #85
- @max2000warlord made their first contribution in #90
- @aeiouaeiouaeiouaeiouaeiouaeiou made their first contribution in #98
Full Changelog: v4.1...v4.2
v4.1
Changes since v4.0
New Features
Modules
gtk_theme
: Prints the current GTK theme (off by default)
Config options
ascii_art
: Path to a file containing a custom logo (and color)modules
: Module array that specifies which modules should be printedkernel_type
: prints the kernel type in brackets (e.g.(zen)
)term_ssh
: prints(SSH)
after the terminal name when running inside of an SSH connectiondate_format
: Specifies how the date should be formatted- renamed
loc_localdomain
toloc_localhost
desktop_type
is now enabled by default
Command line arguments
--ascii
: Path to a file containing a custom logo (and color)--no-config
: Ignores any provided or existing config file--no-logo
: Prevents a logo or ascii art from being printed (while still using it for the color)
Other Changes
--help
now shows the program version
Bug fixes
Noticeable fixes
- Fixed a bug where the separators would print of the wrong length because of logo escape sequences parsed incorrectly
- Fixed
loc_localhost
(used to beloc_localdomain
) andloc_docker
not working - Title no longer uses bold when
title_color
is set to false - Up to 3 GPUs will be listed, instead of just the first found
- gpu() will now hide
Rev. A
or similar in NVIDIA cards - host() will not print
To Be Filled By O.E.M.
anymore
Technical fixes
- The memory module can now print in up to 256B (was 200B because of 55 reserved for the percentage)
- Reduced the amount of memory the boolean options take (by bit-masking a big 64-bit integer)
More
New Contributors
- @getchoo made their first contribution in #21
- @Enkk17 made their first contribution in #30
- @dependabot made their first contribution in #34
- @github-actions made their first contribution in #35
Full Changelog: v4.0...v4.1
v4.0
albafetch v4.0
Install Instructions
The binaries (albafetch
) found inside of the zip files can be installed by just marking it as executable (chmod +x albafetch
) and moved or copied over to /usr/bin or /usr/local/bin (sudo cp albafetch /usr/bin/
)
For archlinux-based Linux distributions, use the archlinux package (sudo pacman -U albafetch-4.0-1-x86_64.pkg.tar.zst
). Please note that there are also some AUR packages avaiable, more about them in the readme
For debian-based Linux distributions, use the deb package (sudo dpkg -i albafetch_4.0_amd64.deb
).
Changelog
- The whole codebase has been completely re-written
- Some new functions, disabled by default.
- A lot of config options have been added, and many have been renamed. You can check them out in the default config
- Many, many other (minor) changes, bug fixes, and minor improvements.
- Some new bugs, probably
Because of these changing, an old config file will very likely not be compatible with the new version. I highly recommend rewriting your config from scratch using the example as reference.
Good luck, I hope you enjoy :D
v2.7
albafetch v2.7
Install Instructions
The Linux binary (albafetch
) can be installed by just marking it as executable (chmod +x albafetch
) and moved or copied over to /usr/bin or /usr/local/bin (sudo cp albafetch /usr/bin/
)
For archlinux-based Linux distributions, I reccomend installing the archlinux package (sudo pacman -U albafetch-2.7-1-x86_64.pkg.tar.zst
)
albafetch will also run on macOS, at least on recent versions, but it will need to be compiled manually compiled as specified in the package README.md. It should work on both x86_64 ("Intel") and arm64 ("Apple Silicon") machines. Binaries might be provided in the future, those would need to be just marked as executable (chmod +x albafetch
) and moved or copied over to /usr/local/bin (sudo cp albafetch /usr/local/bin/
).
Good luck, I hope you enjoy :D
v2.0
albafetch now accepts flags!
--help
or-h
will print some useful info and exit--color
or-c
can be used to change the colored parts of the output--bold
or-b
can be used to toggle the bold in the colored parts of the output
some new blocks (disabled by default):
- user - displays the name of the currently logged user
- hostname - displays the machine hostname