aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/chatterino.profile
diff options
context:
space:
mode:
authorLibravatar Dpeta <jasprose@protonmail.com>2022-12-25 23:16:24 +0100
committerLibravatar Dpeta <jasprose@protonmail.com>2022-12-25 23:16:24 +0100
commitcdeaff836b6601adeac5f2bed80bd690e0bc216f (patch)
tree5b48f8715d548d0a8c7ca8fa977dbc0f0f368a03 /etc/profile-a-l/chatterino.profile
parentApply suggestions from code review (diff)
downloadfirejail-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.profile17
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
7include globals.local 7include 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.
10noblacklist ${HOME}/.config/mpv 15noblacklist ${HOME}/.config/mpv
11noblacklist ${HOME}/.config/pulse 16noblacklist ${HOME}/.config/pulse
@@ -13,12 +18,12 @@ noblacklist ${HOME}/.config/vlc
13noblacklist ${HOME}/.local/share/chatterino 18noblacklist ${HOME}/.local/share/chatterino
14noblacklist ${HOME}/.local/share/vlc 19noblacklist ${HOME}/.local/share/vlc
15 20
16# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc)
17include allow-python3.inc
18
19# Allow Lua for mpv (blacklisted by disable-interpreters.inc) 21# Allow Lua for mpv (blacklisted by disable-interpreters.inc)
20include allow-lua.inc 22include allow-lua.inc
21 23
24# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc)
25include allow-python3.inc
26
22include disable-common.inc 27include disable-common.inc
23include disable-devel.inc 28include disable-devel.inc
24include disable-exec.inc 29include disable-exec.inc
@@ -35,10 +40,6 @@ whitelist-ro ${HOME}/.config/mpv
35whitelist-ro ${HOME}/.config/pulse 40whitelist-ro ${HOME}/.config/pulse
36whitelist-ro ${HOME}/.config/vlc 41whitelist-ro ${HOME}/.config/vlc
37whitelist-ro ${HOME}/.local/share/vlc 42whitelist-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}
42include whitelist-common.inc 43include whitelist-common.inc
43include whitelist-run-common.inc 44include whitelist-run-common.inc
44include whitelist-runuser-common.inc 45include whitelist-runuser-common.inc
@@ -65,7 +66,7 @@ tracelog
65 66
66disable-mnt 67disable-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.
68private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc,waf 69private-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)
70private-cache 71private-cache
71private-dev 72private-dev