diff options
author | Perberos <[email protected]> | 2011-11-04 22:16:15 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-04 22:16:15 -0300 |
commit | fff4ecc82f2bcfa7427596e7ad9c3769fcab040b (patch) | |
tree | ac4f1812a7991609c9c32c776daede2d8492f7b5 /data/xscreensaver-config.xsl | |
download | mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.bz2 mate-screensaver-fff4ecc82f2bcfa7427596e7ad9c3769fcab040b.tar.xz |
first commit
Diffstat (limited to 'data/xscreensaver-config.xsl')
-rw-r--r-- | data/xscreensaver-config.xsl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/data/xscreensaver-config.xsl b/data/xscreensaver-config.xsl new file mode 100644 index 0000000..089193b --- /dev/null +++ b/data/xscreensaver-config.xsl @@ -0,0 +1,27 @@ +<?xml version='1.0'?> +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="1.0"> +<xsl:output method="text" indent="no" /> +<xsl:strip-space elements="*"/> + +<xsl:template match="screensaver"> +[Desktop Entry] +Encoding=UTF-8 +Name=<xsl:value-of select="@_label" /> +Comment=<xsl:value-of select="normalize-space(_description)" /> +<xsl:if test="count(command/@name) != 0"> +TryExec=<xsl:value-of select="normalize-space(command/@name)" /> +Exec=<xsl:value-of select="normalize-space(command/@name)" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(command/@arg)" /> +</xsl:if> +<xsl:if test="count(command/@name) = 0"> +TryExec=<xsl:value-of select="normalize-space(@name)" /> +Exec=<xsl:value-of select="normalize-space(@name)" /><xsl:text> </xsl:text><xsl:value-of select="normalize-space(command/@arg)" /> +</xsl:if> +StartupNotify=false +Terminal=false +Type=Application +Categories=Screensaver; +OnlyShowIn=MATE; +</xsl:template> + +</xsl:stylesheet> |