Skip to content

Instantly share code, notes, and snippets.

@zaxbux
Last active June 12, 2024 11:40
Show Gist options
  • Save zaxbux/c2c942621d625b855baa2282a94a0052 to your computer and use it in GitHub Desktop.
Save zaxbux/c2c942621d625b855baa2282a94a0052 to your computer and use it in GitHub Desktop.
File Types
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/vnd.google-apps.document">
<comment>Google Docs</comment>
<glob pattern="*.gdoc" />
</mime-type>
<mime-type type="application/vnd.google-apps.drawing">
<comment>Google Drawings</comment>
<glob pattern="*.gdraw" />
</mime-type>
<mime-type type="application/vnd.google-apps.form">
<comment>Google Forms</comment>
<glob pattern="*.gform" />
</mime-type>
<mime-type type="application/vnd.google-apps.presentation">
<comment>Google Slides</comment>
<glob pattern="*.gslides" />
</mime-type>
<mime-type type="application/vnd.google-apps.spreadsheet">
<comment>Google Sheets</comment>
<glob pattern="*.gsheet" />
</mime-type>
</mime-info>
@james-pre
Copy link

james-pre commented Jun 12, 2024

This is awesome! I think this needs to get merged in a PR so users have it by default. See shared-mime-info#318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment