From f1aa628c213b8b87743d54d28cd95029af6c4b2f Mon Sep 17 00:00:00 2001 From: pirate486743186 <> Date: Fri, 3 Mar 2023 02:57:07 +0100 Subject: add ani-cli.profile https://github.com/pystardust/ani-cli --- etc/inc/disable-programs.inc | 2 ++ etc/profile-a-l/ani-cli.profile | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 etc/profile-a-l/ani-cli.profile (limited to 'etc') diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 3eb6c03d5..df7f7edd0 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc @@ -83,6 +83,7 @@ blacklist ${HOME}/.cache/Tox blacklist ${HOME}/.cache/Zeal blacklist ${HOME}/.cache/agenda blacklist ${HOME}/.cache/akonadi* +blacklist ${HOME}/.cache/ani-cli blacklist ${HOME}/.cache/atril blacklist ${HOME}/.cache/attic blacklist ${HOME}/.cache/audacity @@ -1027,6 +1028,7 @@ blacklist ${HOME}/.local/share/wormux blacklist ${HOME}/.local/share/xplayer blacklist ${HOME}/.local/share/xreader blacklist ${HOME}/.local/share/zathura +blacklist ${HOME}/.local/state/ani-cli blacklist ${HOME}/.local/state/audacity blacklist ${HOME}/.local/state/pipewire blacklist ${HOME}/.lv2 diff --git a/etc/profile-a-l/ani-cli.profile b/etc/profile-a-l/ani-cli.profile new file mode 100644 index 000000000..270dffaed --- /dev/null +++ b/etc/profile-a-l/ani-cli.profile @@ -0,0 +1,41 @@ +# Firejail profile for ani-cli +# Description: Shell script to watch Anime from the terminal +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include ani-cli.local +# Persistent global definitions +# added by included profile +#include globals.local + +noblacklist ${HOME}/.cache/ani-cli +noblacklist ${HOME}/.local/state/ani-cli + +# Allow /bin/sh (blacklisted by disable-shell.inc) +include allow-bin-sh.inc + +include disable-proc.inc +include disable-xdg.inc + +mkdir ${HOME}/.cache/ani-cli +mkdir ${HOME}/.local/state/ani-cli +whitelist ${HOME}/.cache/ani-cli +whitelist ${HOME}/.local/state/ani-cli +include whitelist-run-common.inc +include whitelist-runuser-common.inc + +#machine-id +nodvd +noprinters +notv + +disable-mnt +private-bin ani-cli,aria2c,cat,cp,curl,cut,ffmpeg,fzf,grep,head,mkdir,mv,nl,sed,sh,sort,tput,tr,uname,wc +#private-cache +private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,mime.types,nsswitch.conf,pango,pki,protocols,pulse,resolv.conf,rpc,services,ssl,X11,xdg +private-tmp + +read-only ${HOME}/.config/mpv + +# Redirect +include mpv.profile -- cgit v1.2.3-70-g09d2