alt+enter in zathura opens ranger in cwd

This commit is contained in:
Alexander Bocken 2023-05-23 18:21:53 +02:00
parent 2fe75c0f1b
commit bbc8f32838
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8
2 changed files with 6 additions and 22 deletions

View File

@ -1,3 +1,4 @@
set sandbox none
set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
@ -11,25 +12,6 @@ map K zoom in
map J zoom out
map i recolor
map p print
set default-bg "#000000"
set default-fg "#ffffff"
set statusbar-bg "#000000"
set statusbar-fg ""#ffffff"
set inputbar-bg "#000000"
set inputbar-fg "#ffffff"
set notification-bg "#000000"
set notification-fg "#a6c0d0"
set notification-error-bg "#000000"
set notification-error-fg "#ffffff"
set notification-warning-bg "#000000"
set notification-warning-fg "#a6c0d0"
set highlight-color "#2C4E6A"
set highlight-active-color "#4C5A6C"
set completion-bg "#2C4E6A"
set completion-fg "#4C5A6C"
set completion-highlight-bg "#2C4E6A"
set completion-highlight-fg "#4C5A6C"
set recolor-lightcolor "#000000"
set recolor-darkcolor "#a6c0d0"
set adjust-open "width"
map g goto top
map <C-s> exec zathura_backward_search.sh
map <A-Return> exec ranger_at_file $FILE

2
.local/bin/ranger_at_file Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
$TERMINAL "$FILE" "${1%/*}"