aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/chatterino.profile
diff options
context:
space:
mode:
authorLibravatar Dpeta <jasprose@protonmail.com>2022-12-25 21:54:17 +0100
committerLibravatar Dpeta <jasprose@protonmail.com>2022-12-25 21:54:17 +0100
commitecf6aca3fd862a07fcf05b17f69df7c4cb99261a (patch)
treef14f169a2e335c7908bf1c0bb909f95a467ad194 /etc/profile-a-l/chatterino.profile
parentApply commitable suggestions from code review (diff)
downloadfirejail-ecf6aca3fd862a07fcf05b17f69df7c4cb99261a.tar.gz
firejail-ecf6aca3fd862a07fcf05b17f69df7c4cb99261a.tar.zst
firejail-ecf6aca3fd862a07fcf05b17f69df7c4cb99261a.zip
Apply the other code review suggestions to chatterino.profile
Diffstat (limited to 'etc/profile-a-l/chatterino.profile')
-rw-r--r--etc/profile-a-l/chatterino.profile31
1 files changed, 10 insertions, 21 deletions
diff --git a/etc/profile-a-l/chatterino.profile b/etc/profile-a-l/chatterino.profile
index a4f45b2ba..f288d0561 100644
--- a/etc/profile-a-l/chatterino.profile
+++ b/etc/profile-a-l/chatterino.profile
@@ -7,17 +7,11 @@ include chatterino.local
7include globals.local 7include globals.local
8 8
9# Also allow access to mpv/vlc, they're usable via streamlink. 9# Also allow access to mpv/vlc, they're usable via streamlink.
10noblacklist ${HOME}/.cache/vlc
11noblacklist ${HOME}/.config/aacs
12noblacklist ${HOME}/.config/mpv 10noblacklist ${HOME}/.config/mpv
13noblacklist ${HOME}/.config/pulse 11noblacklist ${HOME}/.config/pulse
14noblacklist ${HOME}/.config/vlc 12noblacklist ${HOME}/.config/vlc
15noblacklist ${HOME}/.local/share/chatterino 13noblacklist ${HOME}/.local/share/chatterino
16noblacklist ${HOME}/.local/share/vlc 14noblacklist ${HOME}/.local/share/vlc
17# To upload images, whitelist/noblacklist their path in chatterino.local.
18#noblacklist ${HOME}/Pictures/
19# For custom notification sounds, whitelist/noblacklist their path in chatterino.local.
20#noblacklist ${HOME}/Music/
21 15
22# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc) 16# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc)
23include allow-python3.inc 17include allow-python3.inc
@@ -34,25 +28,22 @@ include disable-proc.inc
34include disable-programs.inc 28include disable-programs.inc
35include disable-xdg.inc 29include disable-xdg.inc
36 30
37# Also allow access to mpv/vlc, they're usable via streamlink. 31# Also allow read-only access to mpv/VLC, they're usable via streamlink.
38mkdir ${HOME}/.cache/vlc
39mkdir ${HOME}/.config/aacs
40mkdir ${HOME}/.config/mpv 32mkdir ${HOME}/.config/mpv
41mkdir ${HOME}/.config/pulse 33mkdir ${HOME}/.config/pulse
42mkdir ${HOME}/.config/vlc 34mkdir ${HOME}/.config/vlc
43mkdir ${HOME}/.local/share/chatterino 35mkdir ${HOME}/.local/share/chatterino
44mkdir ${HOME}/.local/share/vlc 36mkdir ${HOME}/.local/share/vlc
45whitelist ${HOME}/.cache/vlc 37# VLC preferences will fail to save with read-only set.
46whitelist ${HOME}/.config/aacs
47whitelist ${HOME}/.config/mpv
48whitelist ${HOME}/.config/pulse
49whitelist ${HOME}/.config/vlc
50whitelist ${HOME}/.local/share/chatterino 38whitelist ${HOME}/.local/share/chatterino
51whitelist ${HOME}/.local/share/vlc 39whitelist-ro ${HOME}/.config/mpv
40whitelist-ro ${HOME}/.config/pulse
41whitelist-ro ${HOME}/.config/vlc
42whitelist-ro ${HOME}/.local/share/vlc
52# To upload images, whitelist/noblacklist their path in chatterino.local. 43# To upload images, whitelist/noblacklist their path in chatterino.local.
53#whitelist ${HOME}/Pictures/pic1.png 44#whitelist ${PICTURES}/pic1.png
54# For custom notification sounds, whitelist/noblacklist their path in chatterino.local. 45# For custom notification sounds, whitelist/noblacklist their path in chatterino.local.
55#whitelist ${HOME}/Music/ 46#whitelist ${MUSIC}/sound.ogg
56# whitelist-*.inc includes 47# whitelist-*.inc includes
57include whitelist-common.inc 48include whitelist-common.inc
58include whitelist-run-common.inc 49include whitelist-run-common.inc
@@ -80,10 +71,7 @@ tracelog
80 71
81disable-mnt 72disable-mnt
82# Add more private-bin lines for browsers or video players to chatterino.local if wanted. 73# Add more private-bin lines for browsers or video players to chatterino.local if wanted.
83private-bin chatterino,pgrep 74private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc,waf
84private-bin ffmpeg,python*,streamlink
85private-bin cvlc,nvlc,qvlc,rvlc,svlc,vlc
86private-bin env,mpv,python*,waf,youtube-dl,yt-dlp
87# private-cache may cause issues with mpv (see #2838) 75# private-cache may cause issues with mpv (see #2838)
88private-cache 76private-cache
89private-dev 77private-dev
@@ -98,6 +86,7 @@ dbus-user.talk org.freedesktop.Notifications
98# For media player integration. 86# For media player integration.
99dbus-user.talk org.freedesktop.ScreenSaver 87dbus-user.talk org.freedesktop.ScreenSaver
100?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher 88?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher
89dbus-user.own org.mpris.MediaPlayer2.chatterino
101dbus-user.talk org.mpris.MediaPlayer2.Player 90dbus-user.talk org.mpris.MediaPlayer2.Player
102dbus-system none 91dbus-system none
103 92