mirror of
https://github.com/grassmunk/Chicago95.git
synced 2025-07-27 07:34:36 +02:00
plus: add desktop file and mimetype
This commit is contained in:
parent
938f472a2f
commit
16e605ccee
5
Makefile
5
Makefile
@ -132,7 +132,7 @@ install_boot_screen:
|
||||
${installbin} -m0644 -t ${SHAREDIR}/plymouth/themes/RetroTux ${SRCDIR}/Plymouth/RetroTux/*
|
||||
|
||||
install_plus:
|
||||
${installbin} -dm0755 ${SHAREDIR}/chicago95-theme-plus/assets ${BINDIR} ${LIBEXECDIR}/chicago95-theme-plus ${DOCDIR}/demo
|
||||
${installbin} -dm0755 ${SHAREDIR}/chicago95-theme-plus/assets ${BINDIR} ${LIBEXECDIR}/chicago95-theme-plus ${DOCDIR}/demo ${APPSDIR} ${MIMEDIR}
|
||||
${installbin} -m0755 -t ${SHAREDIR}/chicago95-theme-plus/assets ${SRCDIR}/Plus/assets/*
|
||||
${installbin} -m0755 ${SRCDIR}/Plus/ChicagoPlus.py ${BINDIR}/ChicagoPlus
|
||||
${installbin} -m0755 ${SRCDIR}/Plus/PlusGUI.py ${BINDIR}/PlusGUI
|
||||
@ -140,6 +140,8 @@ install_plus:
|
||||
${installbin} -m0644 ${SRCDIR}/Plus/README.MD ${DOCDIR}/Plus-README.MD
|
||||
${installbin} -m0644 -t ${DOCDIR} ${SRCDIR}/Plus/*.png
|
||||
${installbin} -m0644 -t ${DOCDIR}/demo ${SRCDIR}/Plus/demo/*
|
||||
${installbin} -m0644 -t ${APPSDIR} ${SRCDIR}/Plus/*.desktop
|
||||
${installbin} -m0644 -t ${MIMEDIR} ${SRCDIR}/Plus/chicago95-plus-theme.xml
|
||||
|
||||
uninstall:
|
||||
${rmbin} -rf \
|
||||
@ -159,6 +161,7 @@ uninstall:
|
||||
${SOUNDSDIR}/Chicago95 \
|
||||
${LIBEXECDIR}/chicago95-theme-plus ${BINDIR}/ChicagoPlus ${BINDIR}/PlusGUI \
|
||||
${SHAREDIR}/chicago95-theme-plus \
|
||||
${APPSDIR}/PlusGUI.desktop ${MIMEDIR}/chicago95-plus-theme.xml \
|
||||
${SHAREDIR}/plymouth/themes/Chicago95 ${SHAREDIR}/plymouth/themes/RetroTux \
|
||||
${XDGAUTODIR}/chicago95-startup.desktop
|
||||
|
||||
|
14
Plus/PlusGUI.desktop
Normal file
14
Plus/PlusGUI.desktop
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Categories=Settings;DesktopSettings;
|
||||
Comment=Import Windows .theme files
|
||||
Exec=/usr/bin/PlusGUI %f
|
||||
GenericName=Windows theme importer
|
||||
Icon=desktop-preferences
|
||||
Keywords=theme;import;
|
||||
MimeType=application/x-plus-theme;
|
||||
Name=Chicago95 Plus!
|
||||
Path=/tmp
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Version=1.0
|
11
Plus/chicago95-plus-theme.xml
Normal file
11
Plus/chicago95-plus-theme.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
||||
<mime-type type="application/x-plus-theme">
|
||||
<sub-class-of type="application/x-theme">
|
||||
<magic priority="75">
|
||||
<match type="string" value="[Control Panel\Colors]" offset="0"/>
|
||||
</magic>
|
||||
<comment>Chicago95 Plus! theme</comment>
|
||||
<glob pattern="*.theme"/>
|
||||
</mime-type>
|
||||
</mime-info>
|
Loading…
x
Reference in New Issue
Block a user