mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2025-02-22 16:41:04 +01:00
flatpak-workarounds.bash: merge global dotfiles overrides
This commit is contained in:
parent
39addd17f2
commit
4d9b3ff880
@ -8,20 +8,12 @@ set -x
|
||||
# Reserved directories that cannot be shared
|
||||
# to flatpaks include at least: /usr
|
||||
|
||||
# In case debugging flatpaks is subject to the other restrictions and running
|
||||
# gdb there is made easier by access to the file. By same logic, they need
|
||||
# to be able to write to the log.
|
||||
flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt $@
|
||||
|
||||
# Allow read-only access to ~/.curlrc in case a flatpak is utilising curl
|
||||
# or libcurl starts reading it
|
||||
flatpak override --filesystem=~/.curlrc:ro $@
|
||||
|
||||
# Allow ro-access to user-specific fonts
|
||||
flatpak override --filesystem=~/.local/share/fonts:ro $@
|
||||
|
||||
# Text-editors appreciate this
|
||||
flatpak override --filesystem=~/.editorconfig:ro $@
|
||||
# Overrides for all apps improving Quality of Life
|
||||
# - debugging with gdb
|
||||
# - curl configuration following
|
||||
# - text editor configuration
|
||||
# - user-specific fonts
|
||||
flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt --filesystem=~/.curlrc:ro --filesystem=~/.editorconfig:ro --filesystem=~/.local/share/fonts:ro $@
|
||||
|
||||
# Public git repositories I access or symlink much.
|
||||
# TODO: scripts & text-editors (otherwise nvim and code and codium cannot edit them!)
|
||||
@ -34,9 +26,6 @@ flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.
|
||||
# https://github.com/flathub/org.briarproject.Briar/issues/5
|
||||
flatpak override org.briarproject.Briar --filesystem=~/.briar:create --filesystem=~/.java/.userPrefs/org/briarproject/briar:create $@
|
||||
|
||||
# email signature
|
||||
#flatpak override org.claws_mail.Claws-Mail --filesystem=~/.signature:create $@
|
||||
|
||||
# Directory I have normal Nextcloud in
|
||||
flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create $@
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user