Skip to content

Commit

Permalink
[XDG] Move file location, fix typos, names, description
Browse files Browse the repository at this point in the history
  • Loading branch information
lanodan committed Dec 7, 2017
1 parent af7e8c8 commit ddf433b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ BEATMAP.osu`. Otherwise you may use the default `/usr/local`.

If you want to have oshu integrated in your desktop:

$ cd share
$ desktop-file-install --dir $PREFIX/share/applications oshu.desktop
$ xdg-mime install x-osu.xml
$ xdg-mime default oshu.desktop text/x-osu
Expand Down
11 changes: 11 additions & 0 deletions share/oshu!.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Desktop Entry]
Type=Application
Name=oshu!
GenericName=Rhythm Game
GenericName[fr]=Jeu de Rythme
Comment=Fast osu! port
Comment[fr]=Adaptation rapide de osu!
Exec=oshu %F
MimeType=text/x-osu
Terminal=true
Categories=Game;X-Music;X-Rhythm
11 changes: 11 additions & 0 deletions share/x-osu.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="text/x-osu">
<comment>osu! beatmap file</comment>
<comment lang="fr">Fichier de beatmap osu!</comment>
<magic priority="50">
<match type="string" offset="0" value="osu file format"/>
</magic>
<glob pattern="*.osu"/>
</mime-type>
</mime-info>

0 comments on commit ddf433b

Please sign in to comment.