elkowar/eww

[BUG] Nerd font icon doesn't show in widget

Opened this issue · 4 comments

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

Description of the bug

I have an overlay widget which displays the volume and brightness. I have the nerd font icons installed and am running the eww window from a bash script. When I run this script for the volume icon, it appears as expected, but on the brightness icon it just shows an ellipsis. I have tried running the overlay window directly from the command line, but the icon also doesn't show up correctly. I have also added the nerd font icons font to the scss file.

Reproducing the issue

  1. Use the following script and window files.
  2. Run the ./overlah.sh volume up command and see the volume icon.
  3. Run the ./overlay.sh brightness up command and see the ellipsis.

Expected behaviour

I expected seeing the brightness icon. The nerd font icons appear in the terminal and in my text editor.

Additional context

2024-11-16_11 56 06

Platform and environment

  • wayland
  • compositor: river
  • version: 0.5.0
  • distro: void linux

Tried on

  • hyprland
  • version 0.6 [commit: 86dc4a4]
  • nixos

Brightness icon was showing up -
gif

Weird, could be that this is fixed in one of the more recent commits. I'm currently using the 0.6.0 version

Not sure.. u could try compiling and see if that helps..

I'll take a look at it, thanks!