zathura: added stricter seccomp config
This commit is contained in:
parent
17dbec19e6
commit
e4cc5369fa
@ -1,5 +1,7 @@
|
|||||||
# zathura
|
# zathura
|
||||||
alias thur="zathura"
|
function thur; zathura $argv; end
|
||||||
|
# stricter sandbox zathura
|
||||||
|
function zathsec; zathura -c ~/.config/zathura-sec $argv; end
|
||||||
|
|
||||||
# Run mpv from clipboard
|
# Run mpv from clipboard
|
||||||
function mpvy; mpv (xsel -b); end
|
function mpvy; mpv (xsel -b); end
|
||||||
@ -8,7 +10,7 @@ function mpvy; mpv (xsel -b); end
|
|||||||
function gpgt; export GPG_TTY=(tty); end
|
function gpgt; export GPG_TTY=(tty); end
|
||||||
|
|
||||||
# Private neovim
|
# Private neovim
|
||||||
function nvimp; nvim -u NONE -c "setlocal history=0 nobackup nomodeline noshelltemp noswapfile noundofile nowritebackup secure viminfo=\"\""; end
|
function nvimp; nvim -u NONE -c "setlocal history=0 nobackup nomodeline noshelltemp noswapfile noundofile nowritebackup secure viminfo=\"\"" $argv; end
|
||||||
|
|
||||||
# Read pdf file as text
|
# Read pdf file as text
|
||||||
function pdfr
|
function pdfr
|
||||||
|
25
src/.config/zathura-sec/zathurarc
Normal file
25
src/.config/zathura-sec/zathurarc
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
# zathura profile for opening foreign files
|
||||||
|
|
||||||
|
set sandbox strict
|
||||||
|
|
||||||
|
# make things fit better
|
||||||
|
set scroll-page-aware true
|
||||||
|
set adjust-open width
|
||||||
|
|
||||||
|
set font "IBM Plex Sans 12"
|
||||||
|
|
||||||
|
set recolor-darkcolor "#ffffff"
|
||||||
|
set recolor-lightcolor rgba(0,0,0,0)
|
||||||
|
set recolor false
|
||||||
|
set recolor-keephue true
|
||||||
|
set recolor-reverse-video true
|
||||||
|
|
||||||
|
set default-bg "#000000ff"
|
||||||
|
set index-bg "#000000"
|
||||||
|
set index-active-bg "#111111"
|
||||||
|
set index-active-fg "#FFFFFF"
|
||||||
|
set inputbar-bg rgba(0,0,0,0.5)
|
||||||
|
set inputbar-fg "#CCCCCC"
|
||||||
|
set statusbar-bg rgba(0,0,0,0.5)
|
||||||
|
|
||||||
|
set selection-clipboard clipboard
|
Loading…
Reference in New Issue
Block a user