Skip to content

v4.2

Latest
Compare
Choose a tag to compare
@alba4k alba4k released this 14 Aug 17:07
· 13 commits to master since this release
2548a4f

Changes since v4.1

New Features

Modules

  • icon_theme: prints the current icon theme for GTK
  • cursor_theme: prints the current cursor theme for GTK
  • battery: 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 of col_block_str, which contains the entire string that is printed for each color
  • col_background was added, which controls whether the background or the background of col_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 (in src/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

Full Changelog: v4.1...v4.2