summaryrefslogtreecommitdiff
path: root/conf.d/60-generic.conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf.d/60-generic.conf')
-rw-r--r--conf.d/60-generic.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf.d/60-generic.conf b/conf.d/60-generic.conf
index 00246fa..2a2b809 100644
--- a/conf.d/60-generic.conf
+++ b/conf.d/60-generic.conf
@@ -5,6 +5,27 @@
<!-- Emoji -->
+ <!-- Prefer to match color emoji font. -->
+ <match>
+ <test name="lang">
+ <string>und-zsye</string>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>true</bool>
+ </test>
+ <test qual="all" name="color" compare="not_eq">
+ <bool>false</bool>
+ </test>
+ <edit name="color" mode="append">
+ <bool>true</bool>
+ </edit>
+ </match>
+
+ <!-- TODO
+ ! Match on "color" and alias B&W ones first if no color is requested.
+ ! That's "hard" because <alias> doesn't work in match and needs to be
+ ! expanded to its non-sugar form.
+ !-->
<alias binding="same">
<family>emoji</family>
<prefer>