Releases: alba4k/albafetch
v4.3
Changes since v4.2.1
New Features
Modules
- Added a
swapmodule that prints the used and total swap on linux cpunow prints 2 decimal digits if the frequency is below 1 GHz
Config syntax
- Custom ascii arts will now print in the specified color by default
- Added
swap_label, the label for the new swap module - Added
swap_perc, whether the used swap percentage should be printed - Added
desktop_version,term_version,shell_version, whether the version numbers should be printed - Added
cpu_temp, whether the cpu temperature should be printed
Command line arguments
- Added
--version(-vfor short), prints version and build commit - Added
--debug, tests every module (replaces the old debug build)
Other
- Added a logo for Rocky Linux
- Added a logo for Artix Linux
- Added a logo for Devuan
- Added a logo for Void Linux
Changes
- Updated the Garuda Linux logo
- Changed return values to be more clear than 0 or 1
- User errors are now handled gracefully
- term will not print
Apple Terminalinstead ofApple_Terminal
Bug fixes
Noticeable fixes
- Packages should be counted faster for dpkg and especially snap
- Alacritty will now be properly recognized even with
general.ipc_socket = false gpushould now print all gpus even when libpci doesn't work- Fixed
pwd_pathnot working - Should now exit on OOM, not segfault
Technical fixes
- Reduced the size of default logos
- Moved some functions from
src/utils/utils.ctosrc/config/config.candsrc/config/config.c.
Planning on rewriting config parsing and reducingsrc/utils/utils.ceven more. - Minor memory safety improvements
Dependencies
- sqlite3 is now needed to build the project
- meson, ninja and pkg-config are now used in the Makefile
- glib is now an optional dependency. If not installed at compile time, custom implementation will be used
- libpci is now an optional dependency at compile time too
Full Changelog: v4.2.1...v4.3
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_lenwas removed, in favor ofcol_block_str, which contains the entire string that is printed for each colorcol_backgroundwas added, which controls whether the background or the background ofcol_block_stris colored (vs. the foreground)bat_statustoggles whether the battery status is shown
Command line arguments
- using
--logo nonewill 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[37mwill 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.cwas 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_localdomaintoloc_localhost desktop_typeis 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
--helpnow 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_dockernot working - Title no longer uses bold when
title_coloris set to false - Up to 3 GPUs will be listed, instead of just the first found
- gpu() will now hide
Rev. Aor 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!
--helpor-hwill print some useful info and exit--coloror-ccan be used to change the colored parts of the output--boldor-bcan 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