diff --git a/bash/flatpak-override-themes.bash b/bash/flatpak-override-themes.bash deleted file mode 100755 index ce27830..0000000 --- a/bash/flatpak-override-themes.bash +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Show commands being executed -set -x - -# Results in /var/lib/flatpak/overrides/global -flatpak override --filesystem=/usr/share/themes:ro --filesystem=~/.themes:ro -flatpak override --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro -flatpak override --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro -flatpak override --show - -# Hide commands being executed again -set +x diff --git a/bash/flatpak-override-themes.bash b/bash/flatpak-override-themes.bash new file mode 120000 index 0000000..0d16c21 --- /dev/null +++ b/bash/flatpak-override-themes.bash @@ -0,0 +1 @@ +flatpak-workarounds.bash \ No newline at end of file diff --git a/bash/flatpak-workarounds.bash b/bash/flatpak-workarounds.bash index 7ab1a03..ec2ad3e 100755 --- a/bash/flatpak-workarounds.bash +++ b/bash/flatpak-workarounds.bash @@ -4,11 +4,16 @@ set -x # Workarounds for common flatpak app issues + +# Allowing system themes in flatpaks +flatpak override --filesystem=/usr/share/themes:ro --filesystem=~/.themes:ro +flatpak override --filesystem=/usr/share/icons:ro --filesystem=~/.icons:ro +flatpak override --filesystem=/usr/share/cursors:ro --filesystem=~/.cursors:ro + # Backticks and a lot of common characters in all Flatpaks # https://github.com/flatpak/flatpak/issues/2031 flatpak override --talk-name=org.fcitx.Fcitx --talk-name=org.freedesktop.portal.Fcitx - # https://github.com/flathub/org.briarproject.Briar/issues/5 flatpak override org.briarproject.Briar --filesystem=~/.briar:create flatpak override org.briarproject.Briar --filesystem=~/.java/.userPrefs/org/briarproject/briar:create