diff --git a/desktop/.config/flavours/config.toml b/desktop/.config/flavours/config.toml index 41700ab..0916a2a 100644 --- a/desktop/.config/flavours/config.toml +++ b/desktop/.config/flavours/config.toml @@ -90,6 +90,13 @@ rewrite = false start = "# START FLAVOURS" end = "# END FLAVOURS" +[[items]] +# additionally requires style = base16 to be set +# in the [GENERAL] section of ~/.config/vimiv/vimiv.conf +template = "vimiv" +file = "~/.config/vimiv/styles/base16" +rewrite = true + [[items]] template = "fzf" subtemplate = "sh" diff --git a/multimedia/.config/vimiv/keys.conf b/multimedia/.config/vimiv/keys.conf new file mode 100644 index 0000000..7bd15a9 --- /dev/null +++ b/multimedia/.config/vimiv/keys.conf @@ -0,0 +1,110 @@ +[GLOBAL] + : 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 +. : 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 + +[IMAGE] +M : center + : enter library + : enter thumbnail +| : flip +_ : flip --vertical + : goto -1 + : goto 1 + : next + : next +n : next +n : next --keep-zoom + : play-or-pause + : prev + : prev +p : prev +p : prev --keep-zoom +> : rotate +< : rotate --counter-clockwise +W : scale --level=1 + : 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 + +[LIBRARY] + : enter thumbnail +go : goto 1 --open-selected + : scroll down --open-selected +n : scroll down --open-selected +d : scroll half-page-down +u : scroll half-page-up + : scroll left +f : scroll page-down +b : scroll page-up + : scroll up --open-selected +p : scroll up --open-selected +L : set library.width +0.05 +H : set library.width -0.05 + +[THUMBNAIL] +$ : end-of-line + : enter library +^ : first-of-line +d : scroll half-page-down +u : scroll half-page-up + : scroll left +f : scroll page-down +b : scroll page-up + : scroll right ++ : zoom in +- : zoom out + +[COMMAND] + : complete + : complete --inverse +p : history next +n : history prev + : history-substr-search next + : history-substr-search prev + : leave-commandline + +[MANIPULATE] + : command +f : fullscreen +b : set statusbar.show! + diff --git a/multimedia/.config/vimiv/styles/base16 b/multimedia/.config/vimiv/styles/base16 new file mode 100644 index 0000000..9b1b112 --- /dev/null +++ b/multimedia/.config/vimiv/styles/base16 @@ -0,0 +1,31 @@ +; base16-gruvbox-dark-soft +; +; base16: (https://github.com/chriskempson/base16) +; +; Scheme: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) +; Template: Christian Karl + +[STYLE] +; Colors +base00 = #32302f +base01 = #3c3836 +base02 = #504945 +base03 = #665c54 +base04 = #bdae93 +base05 = #d5c4a1 +base06 = #ebdbb2 +base07 = #fbf1c7 +base08 = #fb4934 +base09 = #fe8019 +base0a = #fabd2f +base0b = #b8bb26 +base0c = #8ec07c +base0d = #83a598 +base0e = #d3869b +base0f = #d65d0e + +; Additional custom overrides, e.g. +; font = 10pt Hack +; thumbnail.padding = 32 + +; vim:ft=dosini \ No newline at end of file diff --git a/multimedia/.config/vimiv/vimiv.conf b/multimedia/.config/vimiv/vimiv.conf new file mode 100644 index 0000000..572a63a --- /dev/null +++ b/multimedia/.config/vimiv/vimiv.conf @@ -0,0 +1,76 @@ +[GENERAL] +monitor_filesystem = True +startup_library = True +style = base16 +read_only = False + +[COMMAND] +history_limit = 100 + +[COMPLETION] +fuzzy = False + +[SEARCH] +ignore_case = True +incremental = True + +[IMAGE] +autoplay = True +autowrite = ask +overzoom = 1.0 +zoom_wheel_ctrl = True + +[LIBRARY] +width = 0.3 +show_hidden = False + +[THUMBNAIL] +size = 128 +save = True + +[SLIDESHOW] +delay = 2.0 +indicator = slideshow: + +[STATUSBAR] +collapse_home = True +show = True +message_timeout = 60000 +mark_indicator = * +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 + +[SORT] +image_order = natural +directory_order = alphabetical +reverse = False +ignore_case = False +shuffle = False + +[PLUGINS] +print = default +metadata = default + +[ALIASES] +