Compare commits

..

No commits in common. "e4cc5369fa45494dcd0405790d0e2e60e19d43f4" and "89fa51dffb6c3faa4a4f71ec2c1b61bcb2ce9232" have entirely different histories.

5 changed files with 6 additions and 36 deletions

View File

@ -1,7 +1,5 @@
# zathura # zathura
function thur; zathura $argv; end alias thur="zathura"
# 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
@ -10,7 +8,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=\"\"" $argv; end function nvimp; nvim -u NONE -c "setlocal history=0 nobackup nomodeline noshelltemp noswapfile noundofile nowritebackup secure viminfo=\"\""; end
# Read pdf file as text # Read pdf file as text
function pdfr function pdfr

View File

@ -1,25 +0,0 @@
# 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

View File

@ -1,3 +1,6 @@
# might break things, but more secure
set sandbox strict
set statusbar-home-tilde true set statusbar-home-tilde true
# make things fit better # make things fit better
@ -24,5 +27,3 @@ set selection-clipboard clipboard
map <C-l> exec copy_ref map <C-l> exec copy_ref
map <C-g> exec "copy_ref --section" map <C-g> exec "copy_ref --section"
map ,fr exec "open_typ.sh $FILE"

View File

@ -1,4 +0,0 @@
#!/bin/sh
# opens corresponding .typ to current .pdf
st -e nvim $(printf "%s/%s.typ" $(dirname "$1") $(basename -s .pdf "$1"))

@ -1 +1 @@
Subproject commit 0135f1eb4f7f0c2c200b76ea80e4ccf1c8169797 Subproject commit 31b4605b548e0e637b570f532be143b7eb91d553