diff --git a/desktop/.config/flavours/config.toml b/desktop/.config/flavours/config.toml index 14f189d..0916a2a 100644 --- a/desktop/.config/flavours/config.toml +++ b/desktop/.config/flavours/config.toml @@ -61,7 +61,6 @@ template = "qutebrowser" subtemplate = "minimal" file = "~/.local/state/qutebrowser/colorscheme.py" rewrite = true -light = false hook = "pgrep -x qutebrowser && qutebrowser :config-source" # CSS Webpage styling in qutebrowser @@ -90,3 +89,17 @@ file = "~/.config/sioyek/prefs_user.config" 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" +file = "~/.config/sh/env.d/fzf-base16.sh" +rewrite = true +hook = "source ~/.config/sh/env.d/fzf-base16.sh" diff --git a/desktop/.config/flavours/templates/fzf/templates/sh.mustache b/desktop/.config/flavours/templates/fzf/templates/sh.mustache new file mode 100644 index 0000000..8e3bc01 --- /dev/null +++ b/desktop/.config/flavours/templates/fzf/templates/sh.mustache @@ -0,0 +1,9 @@ +# Scheme name: {{scheme-name}} +# Scheme system: {{scheme-system}} +# Scheme author: {{scheme-author}} +# Template author: Tinted Theming (https://github.com/tinted-theming) + +export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ +" --color=bg+:#{{base01-hex}},bg:#{{base00-hex}},spinner:#{{base0C-hex}},hl:#{{base0D-hex}}"\ +" --color=fg:#{{base04-hex}},header:#{{base0D-hex}},info:#{{base0A-hex}},pointer:#{{base0C-hex}}"\ +" --color=marker:#{{base0C-hex}},fg+:#{{base06-hex}},prompt:#{{base0A-hex}},hl+:#{{base0D-hex}}" 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] + diff --git a/sh/.config/sh/env b/sh/.config/sh/env index 5cdc638..7895185 100644 --- a/sh/.config/sh/env +++ b/sh/.config/sh/env @@ -21,15 +21,15 @@ export BIBFILE="${BIBFILE:-$LIBRARYROOT/library.bib}" # these are my personal 'important' application settings if exist nvim; then - export EDITOR="nvim" + export EDITOR="nvim" elif exist vim; then - export EDITOR="vim" + export EDITOR="vim" elif exist vi; then - export EDITOR="vi" + export EDITOR="vi" elif exist micro; then - export EDITOR="micro" + export EDITOR="micro" else - export EDITOR="nano" + export EDITOR="nano" fi export BROWSER="qutebrowser" export TERMINAL="wezterm" @@ -54,5 +54,5 @@ export TERM=xterm-256color . dark_bg if exist fzf; then - export FZF_DEFAULT_OPTS="--bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' --color=light -1 -m --delimiter :" + export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS --bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' -1 -m --delimiter :" fi