diff options
| author | Robert Günzler <r@gnzler.io> | 2023-07-08 04:56:15 +0900 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2023-07-08 04:56:15 +0900 |
| commit | 1a220f1578ce0e18cffff97ae8ba68d6a4dfea4d (patch) | |
| tree | b29a95e5661a37d698bc31448cd8c3933052d0d4 /.config/vimiv | |
| parent | 06d77d2ba07e6191792a546d7fe15683cc026578 (diff) | |
flavours: control font setting centrally
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/vimiv')
| -rw-r--r-- | .config/vimiv/keys.conf | 124 | ||||
| -rw-r--r-- | .config/vimiv/styles/base16 | 96 | ||||
| -rw-r--r-- | .config/vimiv/vimiv.conf | 68 |
3 files changed, 288 insertions, 0 deletions
diff --git a/.config/vimiv/keys.conf b/.config/vimiv/keys.conf new file mode 100644 index 0000000..c23fa8f --- /dev/null +++ b/.config/vimiv/keys.conf @@ -0,0 +1,124 @@ +[GLOBAL] +<colon> : command +o : command --text='open ' +yi : copy-image +yI : copy-image --primary +yy : copy-name +ya : copy-name --abspath +yA : copy-name --abspath --primary +yY : copy-name --primary +x : delete %% +gi : enter image +gl : enter library +gm : enter manipulate +gt : enter thumbnail +f : fullscreen +G : goto -1 +gg : goto 1 +m : mark %% +Q : quit +q : nop +. : repeat-command +j : scroll down +h : scroll left +l : scroll right +k : scroll up +/ : search +? : search --reverse +N : search-next +P : search-prev +zh : set library.show_hidden! +b : set statusbar.show! +tl : toggle library +tm : toggle manipulate +tt : toggle thumbnail +gv : !mpv --keep-open=no %% + +[IMAGE] +q : enter thumbnail +M : center +<button-right> : nop +<button-middle> : nop +| : flip +_ : flip --vertical +<end> : goto -1 +<home> : goto 1 +<button-forward> : next +<page-down> : next +n : next +<ctrl>n : next --keep-zoom +<button-back> : prev +<page-up> : prev +p : prev +<ctrl>p : prev --keep-zoom +> : rotate +< : rotate --counter-clockwise +W : scale --level=1 +<equal> : scale --level=fit +w : scale --level=fit +E : scale --level=fit-height +e : scale --level=fit-width +J : scroll-edge down +H : scroll-edge left +L : scroll-edge right +K : scroll-edge up +sl : set slideshow.delay +0.5 +sh : set slideshow.delay -0.5 +ss : slideshow ++ : zoom in +- : zoom out +gv : !mpv --keep-open=no %% +<space> : !mpv --keep-open=no %% + +[LIBRARY] +q : enter thumbnail +<button-middle> : nop +go : goto 1 --open-selected +<button-forward> : scroll down --open-selected +n : scroll down --open-selected +<ctrl>d : scroll half-page-down +<ctrl>u : scroll half-page-up +<button-right> : nop +<ctrl>f : scroll page-down +<ctrl>b : scroll page-up +<button-back> : scroll up --open-selected +p : scroll up --open-selected +L : set library.width +0.05 +H : set library.width -0.05 +- : scroll left +gT : !swaymsg exec -- foot -D %% +gv : !mpv --keep-open=no %% +<space> : !mpv --keep-open=no %% + +[THUMBNAIL] +q : enter library +$ : end-of-line +<button-right> : nop # enter library +^ : first-of-line +<ctrl>d : scroll half-page-down +<ctrl>u : scroll half-page-up +<button-back> : scroll left +<ctrl>f : scroll page-down +<ctrl>b : scroll page-up +<button-forward> : scroll right +<ctrl>+ : zoom in +<ctrl>- : zoom out +- : enter library +gv : !mpv --keep-open=no %% +<space> : !mpv --keep-open=no %% + +[COMMAND] +<tab> : complete +<shift><tab> : complete --inverse +<ctrl>p : complete +<ctrl>n : complete --inverse +<up> : history-substr-search next +<down> : history-substr-search prev +<escape> : leave-commandline + +[MANIPULATE] +q : enter library +<colon> : command +f : fullscreen +b : set statusbar.show! + diff --git a/.config/vimiv/styles/base16 b/.config/vimiv/styles/base16 new file mode 100644 index 0000000..c842864 --- /dev/null +++ b/.config/vimiv/styles/base16 @@ -0,0 +1,96 @@ +; This file is a reference for creating own styles. It will never be read. +; To change values, copy this file using a new name and set the style setting +; in vimiv.conf to that name. +[STYLE] +; start flavours +font = 10pt Iosevka Etoile +base00 = #0c0c0c +base01 = #db4d6d +base02 = #5dac81 +base03 = #fad689 +base04 = #58b2dc +base05 = #69b0ac +base06 = #70649a +base07 = #bdc0ba +base08 = #1c1c1c +base09 = #cb1b45 +base0a = #86c166 +base0b = #f7d94c +base0c = #2ea9df +base0d = #81c7d4 +base0e = #8a6bbe +base0f = #fffffb +; end flavours +font = 10pt Iosevka Aile +image.bg = {base00} +image.scrollbar.width = 8px +image.scrollbar.bg = {base00} +image.scrollbar.fg = {base05} +image.scrollbar.padding = 2px +library.font = 10pt Iosevka Aile +library.fg = {base07} +library.padding = 2px +library.directory.fg = {base0d} +library.even.bg = {base03} +library.odd.bg = {base03} +library.selected.bg = {base0e} +library.selected.fg = {base07} +library.selected.bg.unfocus = {base05} +library.search.highlighted.fg = {base00} +library.search.highlighted.bg = {base0a} +library.scrollbar.width = 8px +library.scrollbar.bg = {base00} +library.scrollbar.fg = {base05} +library.scrollbar.padding = 2px +library.border = 0px solid +statusbar.font = 10pt Iosevka Aile +statusbar.bg = {base00} +statusbar.fg = {base07} +statusbar.error = {base08} +statusbar.warning = {base0a} +statusbar.info = {base0b} +statusbar.message_border = 2px solid +statusbar.padding = 4 +thumbnail.font = 10pt Iosevka Aile +thumbnail.fg = {base07} +thumbnail.bg = {base00} +thumbnail.padding = 20 +thumbnail.selected.bg = {base0e} +thumbnail.selected.bg.unfocus = {base03} +thumbnail.search.highlighted.bg = {base0a} +thumbnail.default.bg = {base0e} +thumbnail.error.bg = {base08} +thumbnail.frame.fg = {base03} +completion.height = 16em +completion.fg = {base07} +completion.even.bg = {base03} +completion.odd.bg = {base03} +completion.selected.fg = {base07} +completion.selected.bg = {base0e} +keyhint.padding = 2px +keyhint.border_radius = 10px +keyhint.suffix_color = {base0d} +manipulate.fg = {base07} +manipulate.focused.fg = {base0d} +manipulate.bg = {base00} +manipulate.slider.left = {base0f} +manipulate.slider.handle = {base05} +manipulate.slider.right = {base07} +manipulate.image.border = 2px solid +manipulate.image.border.color = {base0d} +mark.color = {base0e} +keybindings.bindings.color = {base0d} +keybindings.highlight.color = {base0e} +metadata.padding = 2px +metadata.border_radius = 10px +image.straighten.color = {base02} +prompt.font = 10pt Iosevka Aile +prompt.fg = {base03} +prompt.bg = {base07} +prompt.padding = 2px +prompt.border_radius = 10px +prompt.border = 2px solid +prompt.border.color = {base0e} +metadata.bg = {base0e} + +; vim:ft=dosini diff --git a/.config/vimiv/vimiv.conf b/.config/vimiv/vimiv.conf new file mode 100644 index 0000000..202b03f --- /dev/null +++ b/.config/vimiv/vimiv.conf @@ -0,0 +1,68 @@ +[GENERAL] +monitor_filesystem = True +shuffle = False +startup_library = True +style = base16 +read_only = True + +[COMMAND] +history_limit = 100 + +[COMPLETION] +fuzzy = True + +[SEARCH] +ignore_case = True +incremental = True + +[IMAGE] +autoplay = True +autowrite = ask +overzoom = 1.0 +zoom_wheel_ctrl = True + +[LIBRARY] +width = 0.6 +show_hidden = True + +[THUMBNAIL] +size = 128 + +[SLIDESHOW] +delay = 2.0 +indicator = slideshow: + +[STATUSBAR] +collapse_home = True +show = True +message_timeout = 60000 +mark_indicator = <b>*</b> +left = {pwd}{read-only} +left_image = {index}/{total} {basename}{read-only} [{zoomlevel}] +left_thumbnail = {thumbnail-index}/{thumbnail-total} {thumbnail-basename}{read-only} +left_manipulate = {basename} {image-size} Modified: {modified} {processing} +center_thumbnail = {thumbnail-size} +center = {slideshow-indicator} {slideshow-delay} {transformation-info} +right = {keys} {mark-count} {mode} +right_image = {keys} {mark-indicator} {mark-count} {mode} + +[KEYHINT] +delay = 500 +timeout = 5000 + +[TITLE] +fallback = vimiv +image = vimiv - {basename} + +[METADATA] +keys1 = Exif.Image.Make,Exif.Image.Model,Exif.Photo.LensModel,Exif.Image.DateTime,Exif.Image.Artist,Exif.Image.Copyright +keys2 = Exif.Photo.ExposureTime,Exif.Photo.FNumber,Exif.Photo.ISOSpeedRatings,Exif.Photo.ApertureValue,Exif.Photo.ExposureBiasValue,Exif.Photo.FocalLength,Exif.Photo.ExposureProgram +keys3 = Exif.GPSInfo.GPSLatitudeRef,Exif.GPSInfo.GPSLatitude,Exif.GPSInfo.GPSLongitudeRef,Exif.GPSInfo.GPSLongitude,Exif.GPSInfo.GPSAltitudeRef,Exif.GPSInfo.GPSAltitude +keys4 = Iptc.Application2.Caption,Iptc.Application2.Keywords,Iptc.Application2.City,Iptc.Application2.SubLocation,Iptc.Application2.ProvinceState,Iptc.Application2.CountryName,Iptc.Application2.Source,Iptc.Application2.Credit,Iptc.Application2.Copyright,Iptc.Application2.Contact +keys5 = Exif.Image.ImageWidth,Exif.Image.ImageLength,Exif.Photo.PixelXDimension,Exif.Photo.PixelYDimension,Exif.Image.BitsPerSample,Exif.Image.Compression,Exif.Photo.ColorSpace + +[PLUGINS] +video = + +[ALIASES] + |