From cd173146e98e9acb5c5cb4eea861019cc796932e Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 13 Dec 2017 17:32:02 +0300 Subject: Add pancake configuration --- .config/pancake/config.yaml | 68 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .config/pancake/config.yaml (limited to '.config/pancake/config.yaml') diff --git a/.config/pancake/config.yaml b/.config/pancake/config.yaml new file mode 100644 index 0000000..33d01ec --- /dev/null +++ b/.config/pancake/config.yaml @@ -0,0 +1,68 @@ +externalViewers: + ogg: xdg-open "${FILE}" + xspf: xdg-open "${FILE}" + jpg: xdg-open "${FILE}" + cabal: emacsclient -n "${FILE}" + jpeg: xdg-open "${FILE}" + gif: xdg-open "${FILE}" + hs: emacsclient -n "${FILE}" + mp3: xdg-open "${FILE}" + el: emacsclient -n "${FILE}" + idr: emacsclient -n "${FILE}" + mpeg: xdg-open "${FILE}" + svg: xdg-open "${FILE}" + pdf: xdg-open "${FILE}" + scm: emacsclient -n "${FILE}" + webm: xdg-open "${FILE}" + h: emacsclient -n "${FILE}" + wav: xdg-open "${FILE}" + mkv: xdg-open "${FILE}" + c: emacsclient -n "${FILE}" + m3u: xdg-open "${FILE}" + ogv: xdg-open "${FILE}" + mp4: xdg-open "${FILE}" + png: xdg-open "${FILE}" +indentDivs: false +commands: + gopher: ! 'curl "${URI}" -w " + + -pancake- + + "' + ssh: ! 'scp "${URI_REGNAME}:${URI_PATH}" /dev/stdout && echo -e '' + + -pancake-''' + web-archive: ! 'curl --compressed -4 -L -w " + + -pancake- + + uri: %{url_effective} + + type: %{content_type} + + " "$(curl "https://archive.org/wayback/available${URI_QUERY}" | jq -r ''.archived_snapshots.closest.url'')"' +referenceDigits: 'rstwfpxcvaqzdgb' +shortcuts: + g: https://m.gutenberg.org/ebooks/search.mobile/?query= + ddg: https://duckduckgo.com/lite/?q= + wt: https://en.m.wiktionary.org/w/index.php?search= + wa: web-archive:///?url= + wp: https://en.m.wikipedia.org/wiki/Special:Search?search= + gp: gopher://gopherpedia.com:70/7/lookup? + vs: gopher://gopher.floodgap.com/7/v2/vs? + xiph: http://dir.xiph.org/search?search= +unclutter: + hacker-news: ^https://news\.ycombinator\.com/((news|show|ask).*)?$ + duckduckgo: ^https://duckduckgo.com/lite/\?q= + lobsters: ^https://lobste.rs/((page|recent|newest).*)?$ +defaultCommand: ! 'curl --compressed -4 -L -w " + + -pancake- + + uri: %{url_effective} + + type: %{content_type} + + " "${URI}"' +historyDepth: 100 +paginate: true -- cgit v1.2.3