aboutsummaryrefslogtreecommitdiffstats
path: root/xdg/.config/mimeapps.list.org
blob: 9ff8b6b667070e5f6239084e7999a05d982d5fa6 (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
#+title: XDG Mimeapps

Suggest to open images in Feh when downloading them through Firefox (and others):

#+begin_src conf-unix :noweb-ref added-associations :tangle no
  image/png=feh.desktop;
#+end_src

Suggest opening atom XML files in Emacs.

#+begin_src conf-unix :noweb-ref added-associations :tangle no
  application/atom+xml=emacsclient.desktop;
#+end_src

Use Firefox to open =http://= and =https://= links.

#+begin_src conf-unix :noweb-ref default-applications :tangle no
  x-scheme-handler/http=firefox.desktop
  x-scheme-handler/https=firefox.desktop
#+end_src

Use Emacs to handle any =org-protocol://= links.

#+begin_src conf-unix :noweb-ref default-applications :tangle no
  x-scheme-handler/org-protocol=EmacsClient.desktop
#+end_src

The rest of this file seems to have been set up by something else, so I've left those around.

#+begin_src conf-unix :noweb yes
  [Added Associations]
  application/octet-stream=firefox.desktop;org.pwmt.zathura.desktop;zathura.desktop;
  application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop;
  <<added-associations>>

  [Default Applications]
  x-scheme-handler/discord-610508934456934412=discord-610508934456934412.desktop
  x-scheme-handler/msteams=teams.desktop
  x-scheme-handler/discord-402572971681644545=discord-402572971681644545.desktop
  <<default-applications>>
#+end_src