diff options
author | 2019-10-28 15:17:48 +0000 | |
---|---|---|
committer | 2019-10-28 15:17:48 +0000 | |
commit | f5de6d6d06692c211bd91183e5104cada273f2f8 (patch) | |
tree | 302c56d8ff86b32fb7ae1a12af35dfc8c4b44d9f | |
parent | Update mpv.profile (diff) | |
download | firejail-f5de6d6d06692c211bd91183e5104cada273f2f8.tar.gz firejail-f5de6d6d06692c211bd91183e5104cada273f2f8.tar.zst firejail-f5de6d6d06692c211bd91183e5104cada273f2f8.zip |
Rework waterfox profile (#3014)
closes #3013
-rw-r--r-- | etc/waterfox-classic.profile | 7 | ||||
-rw-r--r-- | etc/waterfox-current.profile | 7 | ||||
-rw-r--r-- | etc/waterfox.profile | 13 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
4 files changed, 22 insertions, 7 deletions
diff --git a/etc/waterfox-classic.profile b/etc/waterfox-classic.profile new file mode 100644 index 000000000..6c7e18a46 --- /dev/null +++ b/etc/waterfox-classic.profile | |||
@@ -0,0 +1,7 @@ | |||
1 | # Firejail profile for waterfox-classic | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include waterfox-classic.local | ||
5 | |||
6 | # Redirect | ||
7 | include waterfox.profile | ||
diff --git a/etc/waterfox-current.profile b/etc/waterfox-current.profile new file mode 100644 index 000000000..5e12a6fe3 --- /dev/null +++ b/etc/waterfox-current.profile | |||
@@ -0,0 +1,7 @@ | |||
1 | # Firejail profile for waterfox-current | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include waterfox-current.local | ||
5 | |||
6 | # Redirect | ||
7 | include waterfox.profile | ||
diff --git a/etc/waterfox.profile b/etc/waterfox.profile index b8ee67ae0..c6c940fa3 100644 --- a/etc/waterfox.profile +++ b/etc/waterfox.profile | |||
@@ -5,22 +5,21 @@ include waterfox.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include globals.local | 6 | include globals.local |
7 | 7 | ||
8 | noblacklist ${HOME}/.cache/mozilla | ||
9 | noblacklist ${HOME}/.cache/waterfox | 8 | noblacklist ${HOME}/.cache/waterfox |
10 | noblacklist ${HOME}/.mozilla | ||
11 | noblacklist ${HOME}/.waterfox | 9 | noblacklist ${HOME}/.waterfox |
12 | 10 | ||
13 | mkdir ${HOME}/.cache/mozilla/firefox | ||
14 | mkdir ${HOME}/.mozilla | ||
15 | mkdir ${HOME}/.cache/waterfox | 11 | mkdir ${HOME}/.cache/waterfox |
16 | mkdir ${HOME}/.waterfox | 12 | mkdir ${HOME}/.waterfox |
17 | whitelist ${HOME}/.cache/mozilla/firefox | ||
18 | whitelist ${HOME}/.cache/waterfox | 13 | whitelist ${HOME}/.cache/waterfox |
19 | whitelist ${HOME}/.mozilla | ||
20 | whitelist ${HOME}/.waterfox | 14 | whitelist ${HOME}/.waterfox |
21 | 15 | ||
16 | # Uncomment (or add to watefox.local) the following lines if you want to | ||
17 | # use the migration wizard. | ||
18 | #noblacklist ${HOME}/.mozilla | ||
19 | #whitelist ${HOME}/.mozilla | ||
20 | |||
22 | # waterfox requires a shell to launch on Arch. We can possibly remove sh though. | 21 | # waterfox requires a shell to launch on Arch. We can possibly remove sh though. |
23 | #private-bin bash,dbus-launch,dbus-send,env,sh,waterfox,which | 22 | #private-bin bash,dbus-launch,dbus-send,env,sh,waterfox,waterfox-classic,waterfox-current,which |
24 | # private-etc must first be enabled in firefox-common.profile | 23 | # private-etc must first be enabled in firefox-common.profile |
25 | #private-etc waterfox | 24 | #private-etc waterfox |
26 | 25 | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 891771c6c..21f10ebd2 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -648,6 +648,8 @@ w3m | |||
648 | warsow | 648 | warsow |
649 | warzone2100 | 649 | warzone2100 |
650 | waterfox | 650 | waterfox |
651 | waterfox-classic | ||
652 | waterfox-current | ||
651 | webstorm | 653 | webstorm |
652 | weechat | 654 | weechat |
653 | weechat-curses | 655 | weechat-curses |