slim-op-themes: Add custom OpenPandora SLiM themes.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 17 Nov 2009 12:12:57 +0000 (12:12 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 17 Nov 2009 12:12:57 +0000 (12:12 +0000)
* More themes to be added later, just the 'Greek' one for now.

recipes/slim/slim-op-themes.bb [new file with mode: 0644]
recipes/slim/slim-op-themes/greek/background.png [new file with mode: 0644]
recipes/slim/slim-op-themes/greek/panel.png [new file with mode: 0644]
recipes/slim/slim-op-themes/greek/slim.theme [new file with mode: 0644]

diff --git a/recipes/slim/slim-op-themes.bb b/recipes/slim/slim-op-themes.bb
new file mode 100644 (file)
index 0000000..f48e45c
--- /dev/null
@@ -0,0 +1,33 @@
+DESCRIPTION = "SLiM Themes for the OpenPandora"
+SECTION = "x11/dm"
+LICENSE = "GPL"
+
+DEPENDS = ""
+RDEPENDS += "slim"
+
+PR = "r0"
+
+SRC_URI = " \        
+"
+
+# Greek theme.
+
+SRC_URI_append = " \
+           file://greek/background.png \
+           file://greek/panel.png \
+           file://greek/slim.theme \
+"
+
+do_install() {         
+          install -d ${D}${datadir}/slim/themes/
+          
+          install -d ${D}${datadir}/slim/themes/greek/          
+          install -m 0644 ${WORKDIR}/greek/* ${D}${datadir}/slim/themes/greek/
+}
+
+pkg_postinst() {
+#!/bin/sh
+sed -i -e 's/  default/  greek/' ${D}${sysconfdir}/slim.conf
+}
+               
+FILES_${PN} += "${prefix} ${sysconfdir}"
diff --git a/recipes/slim/slim-op-themes/greek/background.png b/recipes/slim/slim-op-themes/greek/background.png
new file mode 100644 (file)
index 0000000..74675c7
Binary files /dev/null and b/recipes/slim/slim-op-themes/greek/background.png differ
diff --git a/recipes/slim/slim-op-themes/greek/panel.png b/recipes/slim/slim-op-themes/greek/panel.png
new file mode 100644 (file)
index 0000000..91c2074
Binary files /dev/null and b/recipes/slim/slim-op-themes/greek/panel.png differ
diff --git a/recipes/slim/slim-op-themes/greek/slim.theme b/recipes/slim/slim-op-themes/greek/slim.theme
new file mode 100644 (file)
index 0000000..7a27823
--- /dev/null
@@ -0,0 +1,37 @@
+# Greek Pandora theme for SLiM
+# by Michael Mrozek (aka EvilDragon)
+
+# Messages (ie: shutdown)
+msg_color               #FFFFFF
+msg_font                Verdana:size=18:bold:dpi=75
+msg_x                   50%
+msg_y                   40%
+msg_shadow_color #702342
+msg_shadow_xoffset 1
+msg_shadow_yoffset 1
+
+# valid values: stretch, tile
+background_style        stretch
+background_color        #eedddd
+
+# Input controls
+input_panel_x           50%
+input_panel_y           65%
+input_name_x            394
+input_name_y            188
+input_font             Verdana:size=22:dpi=75
+input_color             #000000
+
+# Username / password request
+username_font                  Verdana:size=22:bold:dpi=75
+username_color         #f9f9f9
+username_x              245
+username_y              188
+password_x              245
+password_y              188
+username_shadow_color   #702342
+username_shadow_xoffset 1
+username_shadow_yoffset 1
+
+username_msg            Username:
+password_msg            Password: