diff options
author | Antonio Rojas | 2017-03-24 10:08:11 +0000 |
---|---|---|
committer | Antonio Rojas | 2017-03-24 10:08:11 +0000 |
commit | fdacf4c356ec00247927c1c57c6f498e768168d8 (patch) | |
tree | 6553e6fe847a9c078ece9af353b3f9978ff31d99 /xscreensaver-config.xsl | |
download | aur-fdacf4c356ec00247927c1c57c6f498e768168d8.tar.gz |
Drop from community
Diffstat (limited to 'xscreensaver-config.xsl')
-rw-r--r-- | xscreensaver-config.xsl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/xscreensaver-config.xsl b/xscreensaver-config.xsl new file mode 100644 index 000000000000..089193b5237e --- /dev/null +++ b/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> |