aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar user <76937231+Tus1688@users.noreply.github.com>2022-01-10 15:58:28 +0700
committerLibravatar user <76937231+Tus1688@users.noreply.github.com>2022-01-10 15:58:28 +0700
commitec966d4c00b157f62e6f96b560f788bc09b3d0d6 (patch)
treea65618cc532c8e517efdf77516b9568fcdb7a2b8 /etc
parentfix: neovim profile (diff)
downloadfirejail-ec966d4c00b157f62e6f96b560f788bc09b3d0d6.tar.gz
firejail-ec966d4c00b157f62e6f96b560f788bc09b3d0d6.tar.zst
firejail-ec966d4c00b157f62e6f96b560f788bc09b3d0d6.zip
fix: neovim profile
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/disable-programs.inc2
-rw-r--r--etc/profile-m-z/nvim.profile9
2 files changed, 7 insertions, 4 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index ca8820ab6..112207228 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -173,6 +173,7 @@ blacklist ${HOME}/.cache/mutt
173blacklist ${HOME}/.cache/mypaint 173blacklist ${HOME}/.cache/mypaint
174blacklist ${HOME}/.cache/netsurf 174blacklist ${HOME}/.cache/netsurf
175blacklist ${HOME}/.cache/nheko 175blacklist ${HOME}/.cache/nheko
176blacklist ${HOME}/.cache/nvim
176blacklist ${HOME}/.cache/okular 177blacklist ${HOME}/.cache/okular
177blacklist ${HOME}/.cache/opera 178blacklist ${HOME}/.cache/opera
178blacklist ${HOME}/.cache/opera-beta 179blacklist ${HOME}/.cache/opera-beta
@@ -939,6 +940,7 @@ blacklist ${HOME}/.local/share/newsboat
939blacklist ${HOME}/.local/share/nheko 940blacklist ${HOME}/.local/share/nheko
940blacklist ${HOME}/.local/share/nomacs 941blacklist ${HOME}/.local/share/nomacs
941blacklist ${HOME}/.local/share/notes 942blacklist ${HOME}/.local/share/notes
943blacklist ${HOME}/.local/share/nvim
942blacklist ${HOME}/.local/share/ocenaudio 944blacklist ${HOME}/.local/share/ocenaudio
943blacklist ${HOME}/.local/share/okular 945blacklist ${HOME}/.local/share/okular
944blacklist ${HOME}/.local/share/onlyoffice 946blacklist ${HOME}/.local/share/onlyoffice
diff --git a/etc/profile-m-z/nvim.profile b/etc/profile-m-z/nvim.profile
index ef08c4397..2f69bc377 100644
--- a/etc/profile-m-z/nvim.profile
+++ b/etc/profile-m-z/nvim.profile
@@ -1,5 +1,6 @@
1# Firejail profile for neovim 1# Firejail profile for neovim
2# Description: Nvim is open source and freely distributable 2# Description: Nvim is open source and freely distributable
3# This file is overwritten after every install/update
3# Persistent local customizations 4# Persistent local customizations
4include nvim.local 5include nvim.local
5# Persistent global definitions 6# Persistent global definitions
@@ -14,7 +15,6 @@ include disable-devel.inc
14include disable-programs.inc 15include disable-programs.inc
15include disable-xdg.inc 16include disable-xdg.inc
16 17
17blacklist ${RUNUSER}/wayland-*
18blacklist ${RUNUSER} 18blacklist ${RUNUSER}
19 19
20include whitelist-runuser-common.inc 20include whitelist-runuser-common.inc
@@ -22,10 +22,7 @@ include whitelist-runuser-common.inc
22ipc-namespace 22ipc-namespace
23machine-id 23machine-id
24net none 24net none
25netfilter
26no3d 25no3d
27dbus-user none
28dbus-system none
29nodvd 26nodvd
30nogroups 27nogroups
31noinput 28noinput
@@ -35,6 +32,7 @@ notv
35nou2f 32nou2f
36novideo 33novideo
37protocol unix,inet,inet6 34protocol unix,inet,inet6
35seccomp
38seccomp.block-secondary 36seccomp.block-secondary
39shell none 37shell none
40tracelog 38tracelog
@@ -42,5 +40,8 @@ x11 none
42 40
43private-dev 41private-dev
44 42
43dbus-user none
44dbus-system none
45
45read-write ${HOME}/.vim 46read-write ${HOME}/.vim
46read-only ${HOME}/.config 47read-only ${HOME}/.config