Compare commits

..

No commits in common. "2a8d5e07c8926bfed82c8ab5b1e8fc2c9f12a7c9" and "ef46e40cb81b9628734a490f82aeba04846a9716" have entirely different histories.

View File

@ -8,35 +8,36 @@ set -x
# Reserved directories that cannot be shared # Reserved directories that cannot be shared
# to flatpaks include at least: /usr # to flatpaks include at least: /usr
# Overrides for all apps improving Quality of Life # In case debugging flatpaks is subject to the other restrictions and running
# - debugging with gdb # gdb there is made easier by access to the file. By same logic, they need
# - curl configuration following # to be able to write to the log.
# - text editor configuration flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt $@
# - user-specific fonts
flatpak override --filesystem=~/.gdbinit:ro --filesystem=~/gdb.txt:rw --filesystem=~/.curlrc:ro --filesystem=~/.editorconfig:ro --filesystem=~/.local/share/fonts:ro $@
# Public git repositories I access or symlink much. # Allow read-only access to ~/.curlrc in case a flatpak is utilising curl
# Must be rw for access by text editors, otherwise they are ro or I will repeat myself # or libcurl starts reading it
flatpak override --filesystem=~/.shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/shell-things:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/gist:rw --filesystem=~/src/gitea.blesmrt.net/Mikaela/scripts:rw --filesystem=~/src/github.com/Mikaela/mikaela.github.io:rw $@ flatpak override --filesystem=~/.curlrc:ro $@
# Backticks and a lot of common characters in all Flatpaks # Backticks and a lot of common characters in all Flatpaks
# https://github.com/flatpak/flatpak/issues/2031 # https://github.com/flatpak/flatpak/issues/2031
flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx $@ flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx $@
# Additional SDKs (`flatpak search org.freedesktop.Sdk.Extension`)
flatpak override --env=FLATPAK_ENABLE_SDK_EXT=texlive,dotnet,golang $@
# I don't have other nvim on SteamOS
flatpak override io.neovim.nvim --filesystem=host --filesystem=host-os --filesystem=host-etc $@
# https://github.com/flathub/org.briarproject.Briar/issues/5 # https://github.com/flathub/org.briarproject.Briar/issues/5
flatpak override org.briarproject.Briar --filesystem=~/.briar:create --filesystem=~/.java/.userPrefs/org/briarproject/briar:create $@ flatpak override org.briarproject.Briar --filesystem=~/.briar:create $@
flatpak override org.briarproject.Briar --filesystem=~/.java/.userPrefs/org/briarproject/briar:create $@
# This is an ugly hack so I don't have to maintain the config.json separately
# in every profile and can just symlink it
flatpak override im.riot.Riot --filesystem=~/src/gitea.blesmrt.net/Mikaela/gist/matrix/Element:ro $@
# email signature
#flatpak override org.claws_mail.Claws-Mail --filesystem=~/.signature:create $@
# Directory I have normal Nextcloud in # Directory I have normal Nextcloud in
flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create $@ flatpak override com.nextcloud.desktopclient.nextcloud --filesystem=~/Nextcloud:create $@
# PCSX2 files # PCSX2 files
flatpak override net.pcsx2.PCSX2 --filesystem=~/.config/PCSX2:create --filesystem=~/PS2:create $@ flatpak override net.pcsx2.PCSX2 --filesystem=~/.config/PCSX2:create $@
flatpak override net.pcsx2.PCSX2 --filesystem=~/PS2:create $@
# A directory I can share between native and flatpak Steam so both have the # A directory I can share between native and flatpak Steam so both have the
# same games without having to navigate weird paths. # same games without having to navigate weird paths.
@ -49,14 +50,20 @@ flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
# https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working # https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working
flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@ flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@
# Display the overrides # Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global
if [ -d /var/lib/flatpak/overrides/ ]; then # and /var/lib/flatpak/overrides/<flatpak.id>.
tail -n +1 /var/lib/flatpak/overrides/* # The user-configurations are ~/.local/share/flatpak/overrides/
fi
if [ -d $HOME/.local/share/flatpak/overrides/ ]; then flatpak override --show $@
tail -n +1 $HOME/.local/share/flatpak/overrides/* flatpak override --show org.briarproject.Briar $@
fi flatpak override --show im.riot.Riot $@
#flatpak override --show org.claws_mail.Claws-Mail $@
flatpak override --show com.nextcloud.desktopclient.nextcloud $@
flatpak override --show net.pcsx2.PCSX2 $@
flatpak override --show com.valvesoftware.Steam $@
flatpak override --show net.lutris.Lutris $@
flatpak override --show me.kozec.syncthingtk $@
flatpak override --show com.microsoft.Edge $@
# Hide commands being executed again # Hide commands being executed again
set +x set +x