Commit graph

1304 commits

Author SHA1 Message Date
Daniel Eklöf
0e9c96e6b3
pkgbuild: bump fcft requirement to 2.4.0 2021-05-25 19:00:31 +02:00
Daniel Eklöf
64c53bab49
Merge branch 'fix-crash-on-empty-tag'
Closes #48
2021-05-25 18:20:53 +02:00
Daniel Eklöf
5c4ae642f2
tag: fix crash on empty tag specifier, “{}”
For strings with empty tag specifiers, “{}”, we ended up calling
tag_for_name() with a NULL pointer for name. This caused us to crash.

Closes #48
2021-05-25 18:08:54 +02:00
Daniel Eklöf
cb45e53cb4
changelog: text shaping support 2021-05-24 17:42:39 +02:00
Daniel Eklöf
a5bbf0b769
particle/string: use fcft_text_run_rasterize() when available
This enables support for text shaping, and is required to render
e.g. 👩‍👩‍👧‍👧 correctly.

Since text-shaping is a fairly expensive operation, and since many
times the text is unchanged, we cache the last *rendered* string.

That is, we hash the instantiated string, and cache it along with the
text-run from fcft in the *particle* object (i.e. not the exposable).

This means two things:

* we only need to call fcft_text_run_rasterize() once per string
* if the string is the same as last time, we don’t have to call it at
  all.
2021-05-24 17:38:43 +02:00
Daniel Eklöf
18a0920ed9
meson: version.sh: SOURCE_DIR is not valid in custom_targets() 2021-05-04 13:46:20 +02:00
Daniel Eklöf
f9dad99db8
particle/ramp: clamp min/max/value
Make sure that:

* min <= max
* min <= value <= max

Fixes a crash when the tag’s value was out-of-bounds.

Closes #45
2021-04-22 11:44:09 +02:00
Daniel Eklöf
db7a4af80a
main: call fcft_log_init(). Note that this requires fcft >= 2.3.90 2021-04-17 20:35:48 +02:00
Daniel Eklöf
9a6f691493
ci: build on alpine/latest, not edge 2021-04-07 21:21:19 +02:00
Daniel Eklöf
8c93b48146
bar/wayland: xdg_handle_output_name(): free previous monitor name 2021-04-07 07:58:16 +02:00
Daniel Eklöf
a3dd3916a8
Merge branch 'update-dwltags-example' 2021-03-28 13:19:22 +02:00
novakne
21a84aed72
exemples/script: Update dwl-tags
Update dwl-tags to works with dwl main branch
now that the pull request was merged
2021-03-28 12:55:02 +02:00
Daniel Eklöf
4efb7df7db
Merge branch 'doc-fix-alsa' 2021-02-26 11:37:12 +01:00
novakne
f12db42112
doc: yambar-modules-alsa: change highlighting
fron _ to *
2021-02-26 11:30:37 +01:00
novakne
0a60604a3f
doc: yambar-modules-alsa: fix soundcard name 2021-02-26 10:59:11 +01:00
Daniel Eklöf
0edfd8e22c
Merge branch 'dwltags-script' 2021-02-25 20:57:14 +01:00
novakne
d69ca5a0c9
exemples/scripts: dwl-tags.sh: fix exemple length
rename yambar tags
2021-02-25 08:26:10 +01:00
novakne
db34254677
exemples/scripts: dwl-tags.sh: use yambar capacities 2021-02-24 19:57:01 +01:00
Daniel Eklöf
46b222ed23
Merge branch 'splitup-yambar-modules'
Closes #15
2021-02-23 18:42:27 +01:00
novakne
eb76bb4830
changelog: add reference to the issue 2021-02-23 18:33:29 +01:00
novakne
8920413e12
changelog: add split up yambar-modules to changed 2021-02-23 18:04:35 +01:00
novakne
da0edab3fc
changelog: update Contributors 2021-02-23 17:10:59 +01:00
novakne
646ad0b0eb
doc: add empty line a the end of files
fix yambar-modules-sway
fix reference in *-xkb files
2021-02-23 16:25:29 +01:00
novakane
ace0ebd062 Merge branch 'master' into splitup-yambar-modules 2021-02-23 14:46:27 +01:00
Daniel Eklöf
1f1d68e9d7
Merge branch 'pacman-script' 2021-02-23 14:13:17 +01:00
novakne
075ddf3f50
exemples/scripts: pacman.sh: display tags early 2021-02-23 13:44:39 +01:00
novakne
db15c63c90
doc: rename -swayxkb to -sway-xkb
add a yambar-modules-sway pages
2021-02-23 13:24:19 +01:00
novakne
0f1c3548ae
exemples/scripts: pacman.sh: handle no update in yambar config
change type to int
2021-02-23 12:00:56 +01:00
novakne
faa5f7f9f1 doc: split up yambar-modules
Closes #15
2021-02-23 11:17:10 +01:00
novakne
c4f58e8673
exemples/scripts: pacman.sh: display number of pacman/aur updates available 2021-02-22 11:18:55 +01:00
novakne
db6e868011
exemples/scripts: dwl-tags.sh: display info about dwl tags 2021-02-22 11:04:02 +01:00
Daniel Eklöf
153d7a2ffa
doc: yambar-modules: script: stress the importance of an empty line after a transaction
Closes #34
2021-02-21 20:27:29 +01:00
Daniel Eklöf
0855e5ff63
yml: don’t crash when (trying to) merge anchors that aren’t dictionaries
Up until now, we only asserted the value being merged in was a
dictionary.

Now we do a proper check and return a real error message instead.

Closes #32
2021-02-12 08:54:47 +01:00
Daniel Eklöf
afe22813f3
changelog: add a new ‘unreleased’ section 2021-02-12 08:54:43 +01:00
Daniel Eklöf
cc6be3a923
Merge branch 'yaml-error-on-non-dictionary-anchor'
Closes #32
2021-02-12 08:49:14 +01:00
Daniel Eklöf
98a4789e26
yml: don’t crash when (trying to) merge anchors that aren’t dictionaries
Up until now, we only asserted the value being merged in was a
dictionary.

Now we do a proper check and return a real error message instead.

Closes #32
2021-02-11 19:02:14 +01:00
Daniel Eklöf
fe252a1410
module/script: fix typo in memcmp()
Patch by Jan Beich
2021-02-10 16:16:35 +01:00
Daniel Eklöf
264c051232
module/script: fix typo in memcmp()
Patch by Jan Beich
2021-02-10 16:15:49 +01:00
Daniel Eklöf
0bc0012c06
changelog: add a new ‘unreleased’ section 2021-01-14 11:20:02 +01:00
Daniel Eklöf
40a9e68b1e
Merge branch 'releases/1.6' 2021-01-14 11:18:47 +01:00
Daniel Eklöf
2563a233d7
meson/PKGBUILD: bump to 1.6.1 2021-01-14 11:13:16 +01:00
Daniel Eklöf
686e57176e
changelog: prepare for 1.6.1 2021-01-14 11:12:56 +01:00
Daniel Eklöf
90339a00a5
changelog: battery stats no longer getting stuck 2021-01-14 11:11:37 +01:00
Daniel Eklöf
524f93c997
module/battery: re-open /sys/class/power_supply/<battery>/ every update 2021-01-14 11:11:35 +01:00
Daniel Eklöf
8f3de369ac
module/battery: re-open files on every update
Closes #25
2021-01-14 11:11:33 +01:00
Daniel Eklöf
972395bf2e
changelog: i3: numerically names workspaces are sorted separately 2021-01-14 11:11:30 +01:00
Daniel Eklöf
72660b3c01
changelog: mention fix for wrong background colors when not fully opaque 2021-01-14 11:11:27 +01:00
Daniel Eklöf
2f66ac75ba
changelog: mention fix for mpd tags 2021-01-14 11:11:22 +01:00
Daniel Eklöf
ae403c842c
Merge branch 'battery-reopen-files'
Closes #25
2021-01-14 11:10:17 +01:00
Daniel Eklöf
d684dc0463
changelog: battery stats no longer getting stuck 2021-01-14 11:09:50 +01:00