Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions snapcraft.tpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ parts:
build-packages:
- pkg-config

plugs:
dot-local-share-typst:
interface: personal-files
write:
- $HOME/.local/share/typst
dot-cache-typst:
interface: personal-files
write:
- $HOME/.cache/typst

apps:
typst:
command: "bin/typst"
Expand All @@ -32,3 +42,5 @@ apps:
- network # retrieve packages
- home # read sources and write output
- removable-media # read sources on media
- dot-local-share-typst # read/write ~/.local/share/typst
- dot-cache-typst # read/write ~/.cache/typst