Commit graph

55 commits

Author SHA1 Message Date
Jordan Isaacs
6113f9b94e
particles/icon: init
Introduce a new icon particle. It follows the icon
spec (https://specifications.freedesktop.org/icon-theme-spec/latest/index.html).
Rendering logic is taken from fuzzel (using nanosvg + libpng), while loading
logic is taken from sway. Standard usage is with `use-tag = false` which expands
the provided string template and then loads the string as the icon name. There
are settings to manually override the base paths, themes, etc. The second usage
which is required for tray support is a special icon tag that transfers raw
pixmaps. With `use-tag = true` it first expands the string, and then uses that
output to find an icon pixmap tag. To reduce memory usage, themes are reference
counted so they can be passed down the configuration stack without having to
load them in multiple times.

For programmability, a fallback particle can be specified if no icon/tag is
found `fallback: ...`. And the new icon pixmap tag can be existence checked in
map conditions using `+{tag_name}`.

Future work to be done in follow up diffs:
1. Icon caching. Currently performs an icon lookup on each instantiation & a
   render on each refresh.
2. Theme caching. Changing theme directories results in a new "theme collection"
   being created resulting in the possibility of duplicated theme loading.
2024-07-23 22:58:23 -07:00
Daniel Eklöf
a2d30b96fb
meson/pkgbuild: bump version to 1.11.0 2024-04-17 10:30:54 +02:00
Daniel Eklöf
c4e094de3e
meson+pkgbuild: bump version to 1.10.0 2023-07-14 09:03:02 +02:00
Daniel Eklöf
9218ef234c
pkgbuild: add changelog 2023-06-13 17:07:22 +02:00
Daniel Eklöf
1353d635c2
meson/pkgbuild: bump version to 1.9.0 2022-12-17 10:29:11 +01:00
Daniel Eklöf
a5e79d14b7
pkgbuild: add pipewire dependency 2022-12-14 10:18:18 +01:00
Willem van de Krol
dcf21f0b06 modules: add pulse
The pulse module shows information about PulseAudio sinks and sources.
2022-12-12 18:51:28 +01:00
Daniel Eklöf
5edc226c00
meson/pkgbuild: bump version to 1.8.0 2022-02-05 17:57:40 +01:00
Daniel Eklöf
ff238e62ba
fcft: adapt to API changes in fcft-3.x 2022-02-05 12:51:08 +01:00
Daniel Eklöf
42d944d020
meson/pkgbuild: bump version to 1.7.0 2021-09-03 20:39:01 +02:00
Daniel Eklöf
66ea64d826
meson/pkgbuild: bump version to 1.6.2 2021-07-24 13:38:09 +02:00
Daniel Eklöf
0e9c96e6b3
pkgbuild: bump fcft requirement to 2.4.0 2021-05-25 19:00:31 +02:00
Daniel Eklöf
2563a233d7
meson/PKGBUILD: bump to 1.6.1 2021-01-14 11:13:16 +01:00
Daniel Eklöf
105409b0e0
meson/pkgbuild: bump version to 1.6.0 2020-12-19 12:21:33 +01:00
Daniel Eklöf
8d4e2e14a4
meson/pkgbuild: bump version to 1.5.0 2020-09-05 09:25:13 +02:00
Daniel Eklöf
e04b678518
meson/pkgbuild: we don't depend on wlroots 2020-07-22 17:50:24 +02:00
Daniel Eklöf
d108cce689
PKGBUILD: works on aarch64 too 2020-06-05 12:05:43 +02:00
Daniel Eklöf
badf9b7622
meson: use simpler variant of dependency fallback for tllist+fcft
we now require tllist>=1.0.1 and fcft>=2.0.0, which both use
meson.override_dependency(). Thus, we can use the simpler form of
fallback in our dependency() call.s

This also updates the PKGBUILD files to require tllist>=1.0.1 and
fcft>=2.0.0
2020-04-24 20:19:16 +02:00
Daniel Eklöf
f37fc3c1d6
meson/PKGBUILD: bump version to 1.4.0 2020-03-29 11:51:26 +02:00
Daniel Eklöf
ebc7511706
fcft: update to 1.1.0 2020-02-01 20:14:29 +01:00
Daniel Eklöf
8294eb5a80
fcft: update to 1.0.0
Allow/disallow subpixel antialiasing in font_glyph_for_wc(), not using
font_enable_subpixel_antialias().
2020-01-19 12:35:29 +01:00
Daniel Eklöf
54a31f8745
meson/PKGBUILD: font kerning requires fcft >= 0.4.2 2020-01-18 09:27:32 +01:00
Daniel Eklöf
7685199038
meson/PKGBUILD: bump version to 1.3.1 2020-01-15 14:19:42 +01:00
Daniel Eklöf
b6da4492a9
meson/PKGBUILD: bump version to 1.3.0 2020-01-15 13:57:09 +01:00
Daniel Eklöf
d4201723a6
PKGBUILD/meson: require fcft 0.4.x 2019-12-05 19:40:23 +01:00
Daniel Eklöf
4a9530881a
fcft: update to 0.3.0 2019-12-03 21:05:32 +01:00
Daniel Eklöf
fb14c788df
PKGBUILD: require fcft >= 0.2.0 2019-12-01 19:30:03 +01:00
Daniel Eklöf
05a8528172
PKGBUILD: tllist is only a make dependency 2019-12-01 19:29:09 +01:00
Daniel Eklöf
075b095271
PKGBUILD/meson: add version requirements to tllist+fcft 2019-12-01 17:43:12 +01:00
Daniel Eklöf
57b1ecba9c
PKGBUILD: don't allow subproject fallback 2019-12-01 16:25:22 +01:00
Daniel Eklöf
efd27c41ad
PKGBUILD: we depend on tllist and fcft instead of fontconfig/freetype 2019-12-01 16:01:39 +01:00
Daniel Eklöf
8e9c4376e3
meson/PKGBUILD: bump version to 1.2.0 2019-11-24 14:10:36 +01:00
Daniel Eklöf
eac3f53f1a
PKGBUILD: update url to point to new hosting service 2019-11-23 12:40:45 +01:00
Daniel Eklöf
c409e9adf4
PKGBUILD: fix breakage after pacman 5.2 upgrade 2019-10-24 21:20:58 +02:00
Daniel Eklöf
9dbbc480e4
Rename project: f00bar -> yambar 2019-09-28 20:39:45 +02:00
Daniel Eklöf
85c06a427f
Bump version to 1.1.1 2019-09-27 22:13:18 +02:00
Daniel Eklöf
43157e42cc
Bump version to 1.1.0 2019-09-24 19:56:09 +02:00
Daniel Eklöf
4ce314e328
cairo: drop all remaining references to cairo
We now use pixman (and freetype + fontconfig) exclusively.
2019-09-22 11:52:37 +02:00
Daniel Eklöf
07293111fd PKGBUILD: build release, not minsize. Enable LTO 2019-05-11 11:27:38 +02:00
Daniel Eklöf
660d8165f5 PKGBUILD: add support for building from a non-git cloned source dir 2019-05-07 21:41:29 +02:00
Daniel Eklöf
99e03f2ebd meson+PGBUILD: bump version after 1.0.2 release 2019-05-07 20:44:46 +02:00
Daniel Eklöf
f73c4e098a PKGBUILD: bump version 2019-05-07 20:33:43 +02:00
Daniel Eklöf
8135313396 post-merge: undo version changes 2019-05-04 14:52:00 +02:00
Daniel Eklöf
20f065d1ca PKGBUILD: set version 2019-05-04 14:50:52 +02:00
Daniel Eklöf
6a10ddbc39 meson: don't compress man pages
This is up to the distribution/packager.

For example, arch automatically compresses man pages.
2019-05-03 22:58:22 +02:00
Daniel Eklöf
04f18f98c6 PKGBUILD: switch to meson 2019-05-03 22:47:21 +02:00
Daniel Eklöf
8d81091e1e PKGBUILD: makedepend on scdoc (for man page generation) 2019-04-21 13:59:18 +02:00
Daniel Eklöf
a8370d08d5 PKGBUILD: f00bar is both X11 and Wayland compatible 2019-03-31 14:44:13 +02:00
Daniel Eklöf
902245da7a PKGBUILD: i3-wm is no longer a dependency 2019-03-31 14:23:47 +02:00
Daniel Eklöf
ac11638303 PKGBUILD: add new wayland dependencies 2019-02-07 13:00:52 +01:00