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