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 # 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 $@
# Just for verbosity. The results can be seen in /var/lib/flatpak/overrides/global # Display the overrides
# and /var/lib/flatpak/overrides/<flatpak.id>. if [ -d /var/lib/flatpak/overrides/ ]; then
# The user-configurations are ~/.local/share/flatpak/overrides/ tail -n +1 /var/lib/flatpak/overrides/*
fi
flatpak override --show $@ if [ -d $HOME/.local/share/flatpak/overrides/ ]; then
flatpak override --show org.briarproject.Briar $@ tail -n +1 $HOME/.local/share/flatpak/overrides/*
#flatpak override --show org.claws_mail.Claws-Mail $@ fi
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