1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-03-08 02:14:47 +01:00

vifm/eza: improved styling for kepub files

This commit is contained in:
2026-03-03 03:58:22 +01:00
parent f2c8b6d8e5
commit 17697e2f8f
2 changed files with 7 additions and 4 deletions

3
.config/eza/theme.yml Normal file
View File

@@ -0,0 +1,3 @@
extensions:
kepub:
icon: { glyph:  }

View File

@@ -208,11 +208,11 @@ fileviewer *.djvu
\ %pc \ %pc
\ vifmimg clear \ vifmimg clear
" epub " (k)epub
filextype *.epub filextype *.epub,*.kepub
\ {View in zathura} \ {View in zathura}
\ zathura ./%f, \ zathura ./%f,
fileviewer *.epub fileviewer *.epub,*.kepub
\ vifmimg epub %px %py %pw %ph %c \ vifmimg epub %px %py %pw %ph %c
\ %pc \ %pc
\ vifmimg clear \ vifmimg clear
@@ -434,7 +434,7 @@ set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
" file types " file types
set classify=' :dir:/, :exe:, :reg:, :link:' set classify=' :dir:/, :exe:, :reg:, :link:'
" various file names " various file names
set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::' set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.kepub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::'
" archives " archives
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::' set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
" images " images