aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/armcord.profile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l/armcord.profile')
-rw-r--r--etc/profile-a-l/armcord.profile40
1 files changed, 40 insertions, 0 deletions
diff --git a/etc/profile-a-l/armcord.profile b/etc/profile-a-l/armcord.profile
new file mode 100644
index 000000000..470e0dee0
--- /dev/null
+++ b/etc/profile-a-l/armcord.profile
@@ -0,0 +1,40 @@
1# Firejail profile for armcord
2# Description: Standalone Discord client
3# This file is overwritten after every install/update
4# Persistent local customizations
5include armcord.local
6# Persistent global definitions
7include globals.local
8
9# Modules might depend on nodejs.
10# Add the below lines to your armcord.local if you need this.
11# Allow node (disabled by disable-interpreters.inc)
12#include allow-nodejs.inc
13#private-bin node
14
15# The lines below are needed to find the default Firefox profile name, to allow
16# opening links in an existing instance of Firefox (note that it still fails if
17# there isn't a Firefox instance running with the default profile; see #5352)
18noblacklist ${HOME}/.mozilla
19whitelist ${HOME}/.mozilla/firefox/profiles.ini
20
21noblacklist ${HOME}/.config/ArmCord
22
23mkdir ${HOME}/.config/ArmCord
24whitelist ${HOME}/.config/ArmCord
25whitelist /opt/armcord
26whitelist /usr/share/armcord
27
28ignore novideo
29private-bin armcord
30
31dbus-user filter
32dbus-user.talk org.freedesktop.Notifications
33# Allow D-Bus communication with Firefox for opening links
34dbus-user.talk org.mozilla.*
35ignore dbus-user none
36
37join-or-start armcord
38
39# Redirect
40include electron-common.profile