diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-a-l/armcord.profile | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index f638e1d97..73876fde3 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -259,6 +259,7 @@ blacklist ${HOME}/.clonk | |||
259 | blacklist ${HOME}/.config/0ad | 259 | blacklist ${HOME}/.config/0ad |
260 | blacklist ${HOME}/.config/1Password | 260 | blacklist ${HOME}/.config/1Password |
261 | blacklist ${HOME}/.config/2048-qt | 261 | blacklist ${HOME}/.config/2048-qt |
262 | blacklist ${HOME}/.config/ArmCord | ||
262 | blacklist ${HOME}/.config/Atom | 263 | blacklist ${HOME}/.config/Atom |
263 | blacklist ${HOME}/.config/Audaciousrc | 264 | blacklist ${HOME}/.config/Audaciousrc |
264 | blacklist ${HOME}/.config/Authenticator | 265 | blacklist ${HOME}/.config/Authenticator |
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 | ||
5 | include armcord.local | ||
6 | # Persistent global definitions | ||
7 | include 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) | ||
18 | noblacklist ${HOME}/.mozilla | ||
19 | whitelist ${HOME}/.mozilla/firefox/profiles.ini | ||
20 | |||
21 | noblacklist ${HOME}/.config/ArmCord | ||
22 | |||
23 | mkdir ${HOME}/.config/ArmCord | ||
24 | whitelist ${HOME}/.config/ArmCord | ||
25 | whitelist /opt/armcord | ||
26 | whitelist /usr/share/armcord | ||
27 | |||
28 | ignore novideo | ||
29 | private-bin armcord | ||
30 | |||
31 | dbus-user filter | ||
32 | dbus-user.talk org.freedesktop.Notifications | ||
33 | # Allow D-Bus communication with Firefox for opening links | ||
34 | dbus-user.talk org.mozilla.* | ||
35 | ignore dbus-user none | ||
36 | |||
37 | join-or-start armcord | ||
38 | |||
39 | # Redirect | ||
40 | include electron-common.profile | ||