diff options
Diffstat (limited to 'run_onchange_after_deploy-flatpak-overrides.sh.tmpl')
| -rw-r--r-- | run_onchange_after_deploy-flatpak-overrides.sh.tmpl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/run_onchange_after_deploy-flatpak-overrides.sh.tmpl b/run_onchange_after_deploy-flatpak-overrides.sh.tmpl index 0456883..6ce657d 100644 --- a/run_onchange_after_deploy-flatpak-overrides.sh.tmpl +++ b/run_onchange_after_deploy-flatpak-overrides.sh.tmpl @@ -19,3 +19,13 @@ apply io.mpv.Mpv --filesystem=xdg-config/mpv:ro # LibreWolf needs raw /dev access for v4l2 webcams. Flatpak has no # finer-grained device option, so this opens video/dri/snd at once. apply io.gitlab.librewolf-community --device=all + +# Host fonts (notably noto-fonts-emoji) for every flatpak. Without this, +# browsers and other GUI apps fall back to tofu boxes for emoji and +# nerd-font glyphs. Applied globally with `flatpak override --user` +# (no app argument). +flatpak override --user \ + --filesystem=/usr/share/fonts:ro \ + --filesystem=/usr/local/share/fonts:ro \ + --filesystem=xdg-data/fonts:ro \ + --filesystem=xdg-config/fontconfig:ro |
