summaryrefslogtreecommitdiffstats
path: root/.config/pancake/config.yaml
blob: e4690396ea9a76c679111053d4fd65d912a64eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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: ! 'torify 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=
  cs: http://citeseerx.ist.psu.edu/search?q=
  hoogle: https://www.haskell.org/hoogle/?hoogle=
unclutter:
  hacker-news: ^https://news\.ycombinator\.com/((news|show|ask).*)?$
  duckduckgo: ^https://duckduckgo\.com/lite/\?q=
  lobsters: ^https://lobste\.rs/((page|recent|newest).*)?$
  github: ^https://github\.com/
  hoogle: ^https://www\.haskell\.org/hoogle/\?hoogle=
  hackage-haddock: ^https?://hackage\.haskell\.org/package/[^/]+/docs/[^/]+$
  mediawiki: ^https://en\.(m.)?(wiktionary|wikipedia)\.org/wiki/
defaultCommand: ! 'curl -A "pancake/${PANCAKE}" --compressed -4 -L -w "

  -pancake-

  uri: %{url_effective}

  type: %{content_type}

  " "${URI}"'
historyDepth: 100
paginate: true
pandocTimeout: 60