flatpak-workarounds.bash: simplify displaying the overrides

This commit is contained in:
Aminda Suomalainen 2023-10-09 16:11:53 +03:00
parent ad36386457
commit 39addd17f2
Signed by: Mikaela
SSH Key Fingerprint: SHA256:y2OpGEbett3Fqn8XFrP0X4mWfCVKf4rWkxERzqPY81U

View File

@ -54,19 +54,14 @@ flatpak override me.kozec.syncthingtk --filesystem=~/.config/syncthing:create $@
# https://github.com/flathub/com.microsoft.Edge?tab=readme-ov-file#game-controllers-not-working
flatpak override --filesystem=/run/udev:ro com.microsoft.Edge $@
# Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global
# and /var/lib/flatpak/overrides/<flatpak.id>.
# The user-configurations are ~/.local/share/flatpak/overrides/
# Display the overrides
if [ -d /var/lib/flatpak/overrides/ ]; then
tail -n +1 /var/lib/flatpak/overrides/*
fi
flatpak override --show $@
flatpak override --show org.briarproject.Briar $@
#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 $@
if [ -d $HOME/.local/share/flatpak/overrides/ ]; then
tail -n +1 $HOME/.local/share/flatpak/overrides/*
fi
# Hide commands being executed again
set +x