diff options
author | 2022-12-25 21:54:17 +0100 | |
---|---|---|
committer | 2022-12-25 21:54:17 +0100 | |
commit | ecf6aca3fd862a07fcf05b17f69df7c4cb99261a (patch) | |
tree | f14f169a2e335c7908bf1c0bb909f95a467ad194 /etc/profile-a-l | |
parent | Apply commitable suggestions from code review (diff) | |
download | firejail-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')
-rw-r--r-- | etc/profile-a-l/chatterino.profile | 31 |
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 | |||
7 | include globals.local | 7 | include 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. |
10 | noblacklist ${HOME}/.cache/vlc | ||
11 | noblacklist ${HOME}/.config/aacs | ||
12 | noblacklist ${HOME}/.config/mpv | 10 | noblacklist ${HOME}/.config/mpv |
13 | noblacklist ${HOME}/.config/pulse | 11 | noblacklist ${HOME}/.config/pulse |
14 | noblacklist ${HOME}/.config/vlc | 12 | noblacklist ${HOME}/.config/vlc |
15 | noblacklist ${HOME}/.local/share/chatterino | 13 | noblacklist ${HOME}/.local/share/chatterino |
16 | noblacklist ${HOME}/.local/share/vlc | 14 | noblacklist ${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) |
23 | include allow-python3.inc | 17 | include allow-python3.inc |
@@ -34,25 +28,22 @@ include disable-proc.inc | |||
34 | include disable-programs.inc | 28 | include disable-programs.inc |
35 | include disable-xdg.inc | 29 | include 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. |
38 | mkdir ${HOME}/.cache/vlc | ||
39 | mkdir ${HOME}/.config/aacs | ||
40 | mkdir ${HOME}/.config/mpv | 32 | mkdir ${HOME}/.config/mpv |
41 | mkdir ${HOME}/.config/pulse | 33 | mkdir ${HOME}/.config/pulse |
42 | mkdir ${HOME}/.config/vlc | 34 | mkdir ${HOME}/.config/vlc |
43 | mkdir ${HOME}/.local/share/chatterino | 35 | mkdir ${HOME}/.local/share/chatterino |
44 | mkdir ${HOME}/.local/share/vlc | 36 | mkdir ${HOME}/.local/share/vlc |
45 | whitelist ${HOME}/.cache/vlc | 37 | # VLC preferences will fail to save with read-only set. |
46 | whitelist ${HOME}/.config/aacs | ||
47 | whitelist ${HOME}/.config/mpv | ||
48 | whitelist ${HOME}/.config/pulse | ||
49 | whitelist ${HOME}/.config/vlc | ||
50 | whitelist ${HOME}/.local/share/chatterino | 38 | whitelist ${HOME}/.local/share/chatterino |
51 | whitelist ${HOME}/.local/share/vlc | 39 | whitelist-ro ${HOME}/.config/mpv |
40 | whitelist-ro ${HOME}/.config/pulse | ||
41 | whitelist-ro ${HOME}/.config/vlc | ||
42 | whitelist-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 |
57 | include whitelist-common.inc | 48 | include whitelist-common.inc |
58 | include whitelist-run-common.inc | 49 | include whitelist-run-common.inc |
@@ -80,10 +71,7 @@ tracelog | |||
80 | 71 | ||
81 | disable-mnt | 72 | disable-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. |
83 | private-bin chatterino,pgrep | 74 | private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc,waf |
84 | private-bin ffmpeg,python*,streamlink | ||
85 | private-bin cvlc,nvlc,qvlc,rvlc,svlc,vlc | ||
86 | private-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) |
88 | private-cache | 76 | private-cache |
89 | private-dev | 77 | private-dev |
@@ -98,6 +86,7 @@ dbus-user.talk org.freedesktop.Notifications | |||
98 | # For media player integration. | 86 | # For media player integration. |
99 | dbus-user.talk org.freedesktop.ScreenSaver | 87 | dbus-user.talk org.freedesktop.ScreenSaver |
100 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher | 88 | ?ALLOW_TRAY: dbus-user.talk org.kde.StatusNotifierWatcher |
89 | dbus-user.own org.mpris.MediaPlayer2.chatterino | ||
101 | dbus-user.talk org.mpris.MediaPlayer2.Player | 90 | dbus-user.talk org.mpris.MediaPlayer2.Player |
102 | dbus-system none | 91 | dbus-system none |
103 | 92 | ||