-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
matchbox-theme-bug: Add matchbox themes for buglabs
- Loading branch information
Stefan Schmidt
committed
Jan 20, 2011
1 parent
b203a05
commit 904e9ad
Showing
5 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DESCRIPTION = "Matchbox window manager dark BUG theme" | ||
|
||
THEME_NAME="Bug-Dark" | ||
PR="r18" | ||
|
||
include matchbox-theme-bug.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
SHOWCURSOR="no" | ||
|
||
matchbox-desktop-2 & | ||
|
||
matchbox-panel-2 --titlebar --start-applets showdesktop,windowselector --end-applets clock,battery,systray,startup-notify,notify & | ||
|
||
exec matchbox-window-manager -theme Bug-Dark -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
LICENSE = "CC-BY-SA3" | ||
DEPENDS = "matchbox-wm" | ||
SECTION = "x11/wm" | ||
|
||
SRCREV=${AUTOREV} | ||
|
||
SRC_URI += "svn://bugcamp.net/bug/trunk/;module=com.buglabs.bug.theme/matchbox/${THEME_NAME} \ | ||
file://session" | ||
|
||
FILES_${PN} = "${datadir}/themes/${THEME_NAME} \ | ||
${sysconfdir}/matchbox/session" | ||
|
||
S = ${WORKDIR}/com.buglabs.bug.theme/matchbox/${THEME_NAME} | ||
|
||
REQUIRES = "matchbox-sato" | ||
|
||
do_install() { | ||
install -m 0755 -d ${D}${datadir}/themes/${THEME_NAME}/matchbox | ||
install -m 0755 -d ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0 | ||
|
||
install -m 0644 ${S}/index.theme ${D}${datadir}/themes/${THEME_NAME}/ | ||
install -m 0644 ${S}/gtk-2.0/*.png ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0/ | ||
install -m 0644 ${S}/gtk-2.0/gtkrc ${D}${datadir}/themes/${THEME_NAME}/gtk-2.0/ | ||
install -m 0644 ${S}/matchbox/*.png ${D}${datadir}/themes/${THEME_NAME}/matchbox/ | ||
install -m 0644 ${S}/matchbox/theme.xml ${D}${datadir}/themes/${THEME_NAME}/matchbox/ | ||
install -m 0755 -d ${D}${sysconfdir}/matchbox | ||
install -m 0744 ${WORKDIR}/session ${D}${sysconfdir}/matchbox/session | ||
} | ||
|
||
pkg_postinst_${PN} () { | ||
if [ "x$D" != "x" ]; then | ||
exit 1 | ||
fi | ||
|
||
. ${sysconfdir}/init.d/functions | ||
|
||
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme ${THEME_NAME} | ||
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme Bug | ||
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type bool --set /desktop/poky/interface/touchscreen true | ||
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 9" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
SHOWCURSOR="no" | ||
|
||
matchbox-desktop-2 & | ||
|
||
matchbox-panel-2 --titlebar --start-applets showdesktop,windowselector --end-applets clock,battery,systray,startup-notify,notify & | ||
|
||
exec matchbox-window-manager -theme Bug-Dark -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
DESCRIPTION = "Matchbox window manager red BUG theme" | ||
|
||
THEME_NAME="Bug" | ||
PR = "r2" | ||
|
||
include matchbox-theme-bug.inc |