Add firejail

This commit is contained in:
Sergey 2022-04-27 12:54:05 +04:00
parent ea1a173009
commit e364be1ffd
5 changed files with 18 additions and 2 deletions

View File

@ -0,0 +1,14 @@
ignore private-etc
noblacklist ${HOME}/bin/preview-html
noblacklist ${HOME}/.mbsyncrc
noblacklist ${HOME}/.password-store
include /etc/firejail/neomutt.profile
include whitelist-dotfiles.inc
include whitelist-dotfiles-private.inc
whitelist ${HOME}/bin/preview-html
whitelist ${HOME}/.mbsyncrc
whitelist ${HOME}/.password-store

View File

@ -0,0 +1 @@
whitelist ${HOME}/.dotfiles-private

View File

@ -0,0 +1 @@
whitelist ${HOME}/.dotfiles

View File

@ -6,7 +6,7 @@ fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=-1
tree_sort_key=46
tree_sort_direction=1
tree_sort_direction=-1
hide_kernel_threads=0
hide_userland_threads=0
shadow_other_users=1

View File

@ -166,7 +166,7 @@ bind index,pager \CO sidebar-open
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
macro attach 'V' "<pipe-entry>cat > $HOME/.cache/mutt/mail.html; ~/bin/preview-html file://$HOME/.cache/mutt/mail.html; rm $HOME/.cache/mutt/mail.html<enter>"
macro attach 'V' "<pipe-entry>cat > /tmp/mutt-preview.html && $HOME/bin/preview-html file:///tmp/mutt-preview.html; rm /tmp/mutt-preview.html<enter>"
macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
set mailcap_path = ~/.config/mutt/mailcap