From 743e8a98a3b4c94cb1a72c4542a4f91e5a149c47 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 3 Mar 2026 20:21:11 +0200 Subject: [PATCH] install: place the Discord ipc config in place if snap Discord is installed --- install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install b/install index 51319f66..da0df878 100755 --- a/install +++ b/install @@ -58,6 +58,13 @@ if [ ! -f $HOME/.config/MangoHud/MangoHud.conf ]; then cp -v conf/MangoHud.conf $HOME/.config/MangoHud/ fi +# Discord snap inter process communication +if [ -f /var/lib/snapd/snap/bin/discord ]; then + #if [ ! -f $HOME/.config/user-tmpfiles.d/discord-rpc.conf ]; then + cp -v conf/user-tmpfiles.d/discord-rpc.conf $HOME/.config/user-tmpfiles.d/ + #fi +fi + # Default cursor font if [[ ! -f $HOME/.local/share/icons/default/index.theme && -f /usr/share/icons/Oxygen_Yellow/index.theme ]]; then mkdir -vp $HOME/.local/share/icons/default/