Skip to content

Commit 8476e2e

Browse files
authored
Merge pull request #5707 from pirate486743186/ani-cli
add ani-cli.profile
2 parents 096a158 + f1aa628 commit 8476e2e

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

etc/inc/disable-programs.inc

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ blacklist ${HOME}/.cache/Tox
8383
blacklist ${HOME}/.cache/Zeal
8484
blacklist ${HOME}/.cache/agenda
8585
blacklist ${HOME}/.cache/akonadi*
86+
blacklist ${HOME}/.cache/ani-cli
8687
blacklist ${HOME}/.cache/atril
8788
blacklist ${HOME}/.cache/attic
8889
blacklist ${HOME}/.cache/audacity
@@ -1029,6 +1030,7 @@ blacklist ${HOME}/.local/share/wormux
10291030
blacklist ${HOME}/.local/share/xplayer
10301031
blacklist ${HOME}/.local/share/xreader
10311032
blacklist ${HOME}/.local/share/zathura
1033+
blacklist ${HOME}/.local/state/ani-cli
10321034
blacklist ${HOME}/.local/state/audacity
10331035
blacklist ${HOME}/.local/state/pipewire
10341036
blacklist ${HOME}/.lv2

etc/profile-a-l/ani-cli.profile

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Firejail profile for ani-cli
2+
# Description: Shell script to watch Anime from the terminal
3+
# This file is overwritten after every install/update
4+
quiet
5+
# Persistent local customizations
6+
include ani-cli.local
7+
# Persistent global definitions
8+
# added by included profile
9+
#include globals.local
10+
11+
noblacklist ${HOME}/.cache/ani-cli
12+
noblacklist ${HOME}/.local/state/ani-cli
13+
14+
# Allow /bin/sh (blacklisted by disable-shell.inc)
15+
include allow-bin-sh.inc
16+
17+
include disable-proc.inc
18+
include disable-xdg.inc
19+
20+
mkdir ${HOME}/.cache/ani-cli
21+
mkdir ${HOME}/.local/state/ani-cli
22+
whitelist ${HOME}/.cache/ani-cli
23+
whitelist ${HOME}/.local/state/ani-cli
24+
include whitelist-run-common.inc
25+
include whitelist-runuser-common.inc
26+
27+
#machine-id
28+
nodvd
29+
noprinters
30+
notv
31+
32+
disable-mnt
33+
private-bin ani-cli,aria2c,cat,cp,curl,cut,ffmpeg,fzf,grep,head,mkdir,mv,nl,sed,sh,sort,tput,tr,uname,wc
34+
#private-cache
35+
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
36+
private-tmp
37+
38+
read-only ${HOME}/.config/mpv
39+
40+
# Redirect
41+
include mpv.profile

src/firecfg/firecfg.config

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ amarok
4444
amule
4545
amuled
4646
android-studio
47+
ani-cli
4748
anydesk
4849
apktool
4950
apostrophe

0 commit comments

Comments
 (0)