summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2023-04-29 16:25:38 +0900
committerMatan Kushner <hello@matchai.dev>2023-04-29 16:25:38 +0900
commit2641a378659d13c17120a58f5187714a8691d430 (patch)
treeaca1d367cc83afc8ea95461c0216500068f6eb67
parent7c053fb698c43bf186ff4ea62bc5903f31e1dfb9 (diff)
Specify personal-file interface for snap
-rw-r--r--snapcraft.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 13b0be2c8..f1976b995 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -74,13 +74,20 @@ parts:
snapcraftctl build
snapcraftctl set-version $(git -C ../src describe --tags | sed 's/v//')
+plugs:
+ starship-config:
+ interfaces: personal-files
+ write:
+ - $HOME/.config/starship.toml
+ - $HOME/.cache/starship
+
apps:
starship:
command: bin/starship
plugs:
- home
- removable-media
- - personal-files
+ - starship-config
architectures:
- build-on: amd64