Allow Chrome Flatpak to install web apps during setup
This commit is contained in:
1 parent
74b24a267b
commit
4b6d1a36fc
2 files changed
+10
No files matched your search
@@ -41,6 +41,11 @@ curl -fsSL -H "Authorization: token $GITEA_TOKEN" \
|
||||
| `DOTFILES_SKIP_SYSTEM=1` | Never call sudo. Everything in `$HOME` still works. |
|
||||
| `DOTFILES_DIR` | Checkout location (default `~/.dotfiles`). |
|
||||
|
||||
On the personal desktop, `dot apps` gives the Chrome Flatpak user-scoped
|
||||
write access to the two host directories used for web app launchers and
|
||||
icons. Re-run `dot apps` to apply it to an existing installation, then quit
|
||||
and reopen Chrome.
|
||||
|
||||
On SteamOS, the one sudo prompt makes `/nix` owned by `deck`. Nix then runs in single-user mode, with no daemon and no units in `/etc`.
|
||||
|
||||
### Set up the Bitwarden CLI
|
||||
|
||||
@@ -324,6 +324,11 @@ cmd_apps() {
|
||||
done
|
||||
[ ${#failed[@]} -eq 0 ] || warn "Flatpaks failed: ${failed[*]}"
|
||||
ok "Flatpaks: $(( ${#missing[@]} - ${#failed[@]} )) installed, rest already present"
|
||||
if [ "$(profile)" = full ] && flatpak_has com.google.Chrome; then
|
||||
flatpak override --user '--filesystem=~/.local/share/applications:create' \
|
||||
'--filesystem=~/.local/share/icons:create' com.google.Chrome ||
|
||||
warn "Could not configure Chrome web app permissions"
|
||||
fi
|
||||
seed_xpipe
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user