yambar/CHANGELOG.md
Daniel Eklöf ffccabbb13
config: add inheritable option “font-shaping”
This patch adds an inheritable option, “font-shaping”, that controls
whether a particle that renders text should enable font-shaping or
not.

The option works similar to the ‘font’ option: one can set it at the
top-level, and it gets inherited down through all modules and to their
particles.

Or, you can set it on a module and it gets inherited to all its
particles, but not to other modules’ particles.

Finally, you can set it on individual particles, in which case it only
applies to them (or “child” particles).

When font-shaping is enabled (the default), the string particle shapes
full text runs using the fcft_rasterize_text_run_utf32() API. In fcft,
this results in HarfBuzz being used to shape the string.

When disabled, the string particle instead uses the simpler
fcft_rasterize_char_utf32() API, which rasterizes individual
characters.

This gives user greater control over the font rendering. One example
is bitmap fonts, which HarfBuzz often doesn’t get right.

Closes #159
2022-02-23 18:43:13 +01:00

8.4 KiB
Raw Blame History

Changelog

Unreleased

Added

Changed

Deprecated

Removed

Fixed

  • i3: fixed “missing workspace indicator” (err: modules/i3.c:94: workspace reply/event without 'name' and/or 'output', and/or 'focus' properties).

Security

Contributors

1.8.0

Added

Changed

  • fcft >= 3.0 is now required.
  • Made libmpdclient an optional dependency
  • battery: unknown battery states are now mapped to unknown, instead of discharging.
  • Wayland: the bar no longer exits when the monitor is disabled/unplugged (https://codeberg.org/dnkl/yambar/issues/106).

Fixed

  • left-margin and right-margin from being rejected as invalid options.
  • Crash when udev_monitor_receive_device() returned NULL. This affected the “backlight”, “battery” and “removables” modules (https://codeberg.org/dnkl/yambar/issues/109).
  • foreign-toplevel: update bar when a top-level is closed.
  • Bar not being mapped on an output before at least one module has “refreshed” it (https://codeberg.org/dnkl/yambar/issues/116).
  • network: failure to retrieve wireless attributes (SSID, RX/TX bitrate, signal strength etc).
  • Integer options that were supposed to be >= 0 were incorrectly allowed, leading to various bad things; including yambar crashing, or worse, the compositor crashing (https://codeberg.org/dnkl/yambar/issues/129).
  • kib/kb, mib/mb and gib/gb formatters were inverted.

Contributors

  • sochotnicky
  • Alexandre Acebedo
  • anb
  • Baptiste Daroussin
  • Catterwocky
  • horus645
  • Jan Beich
  • mz
  • natemaia
  • nogerine
  • Soc Virnyl S. Estela
  • Vincent Fischer

1.7.0

Added

  • i3: persistent attribute, allowing persistent workspaces (https://codeberg.org/dnkl/yambar/issues/72).
  • bar: border.{left,right,top,bottom}-width, allowing the width of each side of the border to be configured individually. border.width is now a short-hand for setting all four borders to the same value (https://codeberg.org/dnkl/yambar/issues/77).
  • bar: layer: top|bottom, allowing the layer which the bar is rendered on to be changed. Wayland only - ignored on X11.
  • river: all-monitors: false|true.
  • -d,--log-level=info|warning|error|none command line option (https://codeberg.org/dnkl/yambar/issues/84).
  • river: support for the river-status protocol, version 2 (urgent views).
  • online tag to the alsa module.
  • alsa: volume and muted options, allowing you to configure which channels to use as source for the volume level and muted state.
  • foreign-toplevel: Wayland module that provides information about currently opened windows.
  • alsa: support for capture devices.
  • network: ssid, signal, rx-bitrate and rx-bitrate tags.
  • network: poll-interval option (for the new signal and *-bitrate tags).
  • tags: percentage tag formatter, for range tags: {tag_name:%}.
  • tags: kb/mb/gb, and kib/mib/gib tag formatters.
  • clock: add a config option to show UTC time.

Changed

  • bar: do not add spacing around empty (zero-width) modules.
  • alsa: do not error out if we fail to connect to the ALSA device, or if we get disconnected. Instead, keep retrying until we succeed (https://codeberg.org/dnkl/yambar/issues/86).

Fixed

  • yambar --backend=wayland always erroring out with ”yambar was compiled without the Wayland backend”.
  • Regression: {where} tag not being expanded in progress-bar on-click handlers.
  • alsa module causing yambar to use 100% CPU if the ALSA device is disconnected (https://codeberg.org/dnkl/yambar/issues/61).

Contributors

1.6.2

Added

Changed

Fixed

Contributors

1.6.1

Changed

Fixed

  • mpd: elapsed tag not working (regression, introduced in 1.6.0).
  • Wrong background color for (semi-) transparent backgrounds.
  • battery: stats sometimes getting stuck at 0, or impossibly large values (https://codeberg.org/dnkl/yambar/issues/25).

1.6.0

Added

Fixed

Contributors

1.5.0

Added

  • battery: support for drivers that use charge_* (instead of energy_*) sys files.
  • removables: SD card support.
  • removables: new ignore property.
  • Wayland: multi-seat support.
  • Experimental: 'river': new module for the river Wayland compositor.

Changed

  • Requires fcft-2.2.x.
  • battery: a poll value of 0 disables polling.

Fixed

  • mpd: check of return value from thrd_create.
  • battery: handle 'manufacturer' and 'model_name' not being present.
  • Wayland: handle runtime scaling changes.