diff options
author | Dpeta <jasprose@protonmail.com> | 2022-12-25 23:16:24 +0100 |
---|---|---|
committer | Dpeta <jasprose@protonmail.com> | 2022-12-25 23:16:24 +0100 |
commit | cdeaff836b6601adeac5f2bed80bd690e0bc216f (patch) | |
tree | 5b48f8715d548d0a8c7ca8fa977dbc0f0f368a03 /etc/profile-a-l/chatterino.profile | |
parent | Apply suggestions from code review (diff) | |
download | firejail-cdeaff836b6601adeac5f2bed80bd690e0bc216f.tar.gz firejail-cdeaff836b6601adeac5f2bed80bd690e0bc216f.tar.zst firejail-cdeaff836b6601adeac5f2bed80bd690e0bc216f.zip |
Apply code review suggestions to chatterino.profile
- Remove waf from private-bin
- Move optional commands to the top
- Reorder allow lua/python
Diffstat (limited to 'etc/profile-a-l/chatterino.profile')
-rw-r--r-- | etc/profile-a-l/chatterino.profile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/etc/profile-a-l/chatterino.profile b/etc/profile-a-l/chatterino.profile index 014a6d92a..4dfd85740 100644 --- a/etc/profile-a-l/chatterino.profile +++ b/etc/profile-a-l/chatterino.profile | |||
@@ -6,6 +6,11 @@ include chatterino.local | |||
6 | # Persistent global definitions | 6 | # Persistent global definitions |
7 | include globals.local | 7 | include globals.local |
8 | 8 | ||
9 | # To upload images, whitelist/noblacklist their path in chatterino.local. | ||
10 | #whitelist ${PICTURES} | ||
11 | # For custom notification sounds, whitelist/noblacklist their path in chatterino.local. | ||
12 | #whitelist ${MUSIC} | ||
13 | |||
9 | # Also allow access to mpv/vlc, they're usable via streamlink. | 14 | # Also allow access to mpv/vlc, they're usable via streamlink. |
10 | noblacklist ${HOME}/.config/mpv | 15 | noblacklist ${HOME}/.config/mpv |
11 | noblacklist ${HOME}/.config/pulse | 16 | noblacklist ${HOME}/.config/pulse |
@@ -13,12 +18,12 @@ noblacklist ${HOME}/.config/vlc | |||
13 | noblacklist ${HOME}/.local/share/chatterino | 18 | noblacklist ${HOME}/.local/share/chatterino |
14 | noblacklist ${HOME}/.local/share/vlc | 19 | noblacklist ${HOME}/.local/share/vlc |
15 | 20 | ||
16 | # Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc) | ||
17 | include allow-python3.inc | ||
18 | |||
19 | # Allow Lua for mpv (blacklisted by disable-interpreters.inc) | 21 | # Allow Lua for mpv (blacklisted by disable-interpreters.inc) |
20 | include allow-lua.inc | 22 | include allow-lua.inc |
21 | 23 | ||
24 | # Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc) | ||
25 | include allow-python3.inc | ||
26 | |||
22 | include disable-common.inc | 27 | include disable-common.inc |
23 | include disable-devel.inc | 28 | include disable-devel.inc |
24 | include disable-exec.inc | 29 | include disable-exec.inc |
@@ -35,10 +40,6 @@ whitelist-ro ${HOME}/.config/mpv | |||
35 | whitelist-ro ${HOME}/.config/pulse | 40 | whitelist-ro ${HOME}/.config/pulse |
36 | whitelist-ro ${HOME}/.config/vlc | 41 | whitelist-ro ${HOME}/.config/vlc |
37 | whitelist-ro ${HOME}/.local/share/vlc | 42 | whitelist-ro ${HOME}/.local/share/vlc |
38 | # To upload images, whitelist/noblacklist their path in chatterino.local. | ||
39 | #whitelist ${PICTURES} | ||
40 | # For custom notification sounds, whitelist/noblacklist their path in chatterino.local. | ||
41 | #whitelist ${MUSIC} | ||
42 | include whitelist-common.inc | 43 | include whitelist-common.inc |
43 | include whitelist-run-common.inc | 44 | include whitelist-run-common.inc |
44 | include whitelist-runuser-common.inc | 45 | include whitelist-runuser-common.inc |
@@ -65,7 +66,7 @@ tracelog | |||
65 | 66 | ||
66 | disable-mnt | 67 | disable-mnt |
67 | # Add more private-bin lines for browsers or video players to chatterino.local if wanted. | 68 | # Add more private-bin lines for browsers or video players to chatterino.local if wanted. |
68 | private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc,waf | 69 | private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc |
69 | # private-cache may cause issues with mpv (see #2838) | 70 | # private-cache may cause issues with mpv (see #2838) |
70 | private-cache | 71 | private-cache |
71 | private-dev | 72 | private-dev |