it's common need, it's on linux, what xfce or hyprland doesnot matter, but it's for my hyprland window selector. on https://github.com/hyprwm/Hyprland/discussions/830 I post my perl script at below, but I want add icon show while python can resolve icon path easily.
check it.