From c07b32ad1bb2b10d36829d8724c550d7a473b5a2 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Mon, 6 Jan 2020 11:31:33 +1300 Subject: [PATCH] Import geeqie config --- .cache/geeqie/.gitignore | 2 + .config/geeqie/.gitignore | 3 + .../geeqie/applications/send-by-mutt.desktop | 16 + .../geeqie/applications/tag-melanie.desktop | 18 + .../geeqie/applications/tag-selection.desktop | 18 + .../geeqie/applications/tag-veronika.desktop | 18 + .config/geeqie/geeqierc.xml | 401 ++++++++++++++++++ .config/geeqie/git-annex-metadata | 28 ++ .gitignore.d/geeqie | 9 + .local/share/geeqie/.gitignore | 2 + 10 files changed, 515 insertions(+) create mode 100644 .cache/geeqie/.gitignore create mode 100644 .config/geeqie/.gitignore create mode 100644 .config/geeqie/applications/send-by-mutt.desktop create mode 100644 .config/geeqie/applications/tag-melanie.desktop create mode 100644 .config/geeqie/applications/tag-selection.desktop create mode 100644 .config/geeqie/applications/tag-veronika.desktop create mode 100644 .config/geeqie/geeqierc.xml create mode 100755 .config/geeqie/git-annex-metadata create mode 100644 .local/share/geeqie/.gitignore diff --git a/.cache/geeqie/.gitignore b/.cache/geeqie/.gitignore new file mode 100644 index 0000000..a68d087 --- /dev/null +++ b/.cache/geeqie/.gitignore @@ -0,0 +1,2 @@ +/* +!/.gitignore diff --git a/.config/geeqie/.gitignore b/.config/geeqie/.gitignore new file mode 100644 index 0000000..1277703 --- /dev/null +++ b/.config/geeqie/.gitignore @@ -0,0 +1,3 @@ +/history +/marks +/keywords diff --git a/.config/geeqie/applications/send-by-mutt.desktop b/.config/geeqie/applications/send-by-mutt.desktop new file mode 100644 index 0000000..b2662d4 --- /dev/null +++ b/.config/geeqie/applications/send-by-mutt.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Send by Mutt +Terminal=true +TryExec=mutt +Exec=x-terminal-emulator -e mutt -H /dev/null -E -a %F + +# Desktop files that are usable only in Geeqie should be marked like this: +Categories=X-Geeqie; +OnlyShowIn=X-Geeqie; + +X-Geeqie-Menu-Path=PluginsMenu + +# It can be made verbose +#X-Geeqie-Verbose=true diff --git a/.config/geeqie/applications/tag-melanie.desktop b/.config/geeqie/applications/tag-melanie.desktop new file mode 100644 index 0000000..41cac2c --- /dev/null +++ b/.config/geeqie/applications/tag-melanie.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Git-annex tag file 'melanie' + +# call the helper script +TryExec=git-annex +Exec=~/.config/geeqie/git-annex-metadata -t melanie -- %F + +# Desktop files that are usable only in Geeqie should be marked like this: +Categories=X-Geeqie; +OnlyShowIn=X-Geeqie; + +# Show in menu "Edit/Orientation" +X-Geeqie-Menu-Path=EditMenu + +# It can be made verbose +#X-Geeqie-Verbose=true diff --git a/.config/geeqie/applications/tag-selection.desktop b/.config/geeqie/applications/tag-selection.desktop new file mode 100644 index 0000000..ab65fbb --- /dev/null +++ b/.config/geeqie/applications/tag-selection.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Git-annex tag file 'selection' + +# call the helper script +TryExec=git-annex +Exec=~/.config/geeqie/git-annex-metadata -t selection -- %F + +# Desktop files that are usable only in Geeqie should be marked like this: +Categories=X-Geeqie; +OnlyShowIn=X-Geeqie; + +# Show in menu "Edit/Orientation" +X-Geeqie-Menu-Path=EditMenu + +# It can be made verbose +#X-Geeqie-Verbose=true diff --git a/.config/geeqie/applications/tag-veronika.desktop b/.config/geeqie/applications/tag-veronika.desktop new file mode 100644 index 0000000..2e32573 --- /dev/null +++ b/.config/geeqie/applications/tag-veronika.desktop @@ -0,0 +1,18 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=Git-annex tag file 'veronika' + +# call the helper script +TryExec=git-annex +Exec=~/.config/geeqie/git-annex-metadata -t veronika -- %F + +# Desktop files that are usable only in Geeqie should be marked like this: +Categories=X-Geeqie; +OnlyShowIn=X-Geeqie; + +# Show in menu "Edit/Orientation" +X-Geeqie-Menu-Path=EditMenu + +# It can be made verbose +#X-Geeqie-Verbose=true diff --git a/.config/geeqie/geeqierc.xml b/.config/geeqie/geeqierc.xml new file mode 100644 index 0000000..59a465c --- /dev/null +++ b/.config/geeqie/geeqierc.xml @@ -0,0 +1,401 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.config/geeqie/git-annex-metadata b/.config/geeqie/git-annex-metadata new file mode 100755 index 0000000..18089df --- /dev/null +++ b/.config/geeqie/git-annex-metadata @@ -0,0 +1,28 @@ +#!/bin/sh +set -eu + +realpath() { + perl -MFile::Spec -E 'my $base = shift; say File::Spec->abs2rel( shift, $base)' $1 $2 +} + +now_files=0 +args= +files= +while [ -n "${1:-}" ]; do + if [ "$1" = "--" ]; then + now_files=1 + elif [ $now_files -eq 0 ]; then + args="${args:+$args }$1" + else + if [ -e "${1##*/}" ]; then + f="${1##*/}" + else + f="$(realpath $PWD $1)" + fi + files="${files:+$files }'$f'" + fi + shift +done + +set -x +eval exec git annex metadata $args $files diff --git a/.gitignore.d/geeqie b/.gitignore.d/geeqie index 8fd7c8d..c29217c 100644 --- a/.gitignore.d/geeqie +++ b/.gitignore.d/geeqie @@ -1,2 +1,11 @@ * +!/.cache/geeqie/.gitignore +!/.config/geeqie/applications/send-by-mutt.desktop +!/.config/geeqie/applications/tag-melanie.desktop +!/.config/geeqie/applications/tag-selection.desktop +!/.config/geeqie/applications/tag-veronika.desktop +!/.config/geeqie/geeqierc.xml +!/.config/geeqie/git-annex-metadata +!/.config/geeqie/.gitignore !/.gitignore.d/geeqie +!/.local/share/geeqie/.gitignore diff --git a/.local/share/geeqie/.gitignore b/.local/share/geeqie/.gitignore new file mode 100644 index 0000000..a68d087 --- /dev/null +++ b/.local/share/geeqie/.gitignore @@ -0,0 +1,2 @@ +/* +!/.gitignore -- 2.39.5