Closed jlj2 closed 3 years ago
What you're looking for is the %{A}
format option. Example:
echo "%{A:xclock:}Clock%{A}" | lemonbar -p
Now, when you click the "Clock" text, lemonbar will print xclock
to stdout
, which enables you to run that by whatever means suit your needs.
Combine that with a font that contains nice icons, like siji and you can create pretty decent results.
Having searched on the internet re using .svg/.png style icons over font symbols (e.g. Fontawesome) in lemonbar particularly, the only hints I could find were as follows:-
https://github.com/LemonBoy/bar/pull/96
https://forums.bunsenlabs.org/viewtopic.php?id=2463
If possible, could sample code for these launchers please be spelled out? Hopefully, the code would contain a line demonstrating where an .svg/.png file would appear (or even a .desktop file, which contains a reference to a .svg/.png-type icon).
Many thanks in advance!