From cdeaff836b6601adeac5f2bed80bd690e0bc216f Mon Sep 17 00:00:00 2001 From: Dpeta Date: Sun, 25 Dec 2022 23:16:24 +0100 Subject: Apply code review suggestions to chatterino.profile - Remove waf from private-bin - Move optional commands to the top - Reorder allow lua/python --- etc/profile-a-l/chatterino.profile | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'etc/profile-a-l/chatterino.profile') 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 # Persistent global definitions include globals.local +# To upload images, whitelist/noblacklist their path in chatterino.local. +#whitelist ${PICTURES} +# For custom notification sounds, whitelist/noblacklist their path in chatterino.local. +#whitelist ${MUSIC} + # Also allow access to mpv/vlc, they're usable via streamlink. noblacklist ${HOME}/.config/mpv noblacklist ${HOME}/.config/pulse @@ -13,12 +18,12 @@ noblacklist ${HOME}/.config/vlc noblacklist ${HOME}/.local/share/chatterino noblacklist ${HOME}/.local/share/vlc -# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc) -include allow-python3.inc - # Allow Lua for mpv (blacklisted by disable-interpreters.inc) include allow-lua.inc +# Allow Python for Streamlink integration (blacklisted by disable-interpreters.inc) +include allow-python3.inc + include disable-common.inc include disable-devel.inc include disable-exec.inc @@ -35,10 +40,6 @@ whitelist-ro ${HOME}/.config/mpv whitelist-ro ${HOME}/.config/pulse whitelist-ro ${HOME}/.config/vlc whitelist-ro ${HOME}/.local/share/vlc -# To upload images, whitelist/noblacklist their path in chatterino.local. -#whitelist ${PICTURES} -# For custom notification sounds, whitelist/noblacklist their path in chatterino.local. -#whitelist ${MUSIC} include whitelist-common.inc include whitelist-run-common.inc include whitelist-runuser-common.inc @@ -65,7 +66,7 @@ tracelog disable-mnt # Add more private-bin lines for browsers or video players to chatterino.local if wanted. -private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc,waf +private-bin chatterino,cvlc,env,ffmpeg,mpv,nvlc,pgrep,python*,qvlc,rvlc,streamlink,svlc,vlc # private-cache may cause issues with mpv (see #2838) private-cache private-dev -- cgit v1.2.3-54-g00ecf