pandora-skel: Added .gtkrc-2.0 (wider scrollbars, transparent icon text)
authorMichael Mrozek <EvilDragon@openpandora.de>
Tue, 24 Apr 2012 02:02:57 +0000 (04:02 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Tue, 24 Apr 2012 02:02:57 +0000 (04:02 +0200)
recipes/pandora-system/pandora-skel.bb
recipes/pandora-system/pandora-skel/gtkrc-2.0 [new file with mode: 0644]

index 3006874..0aa7428 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
 RDEPENDS = "shadow"
 
-PR = "r12"
+PR = "r13"
 
 SRC_URI = " \
   file://.xinitrc \     
@@ -20,6 +20,7 @@ SRC_URI = " \
   file://fuse \
   file://snd-pcm-oss \
 #  file://op_btenabled \
+  file://gtkrc-2.0 \
 "
 
 # xsettings.xml is a hack until I can figure out why XDG configs are not setting the icon theme for Xfce/GTK+
@@ -35,6 +36,7 @@ do_install() {
   install -m 0644 ${WORKDIR}/pam_environment ${D}${sysconfdir}/skel/.pam_environment
   install -m 0644 ${WORKDIR}/pndXmodmap ${D}${sysconfdir}/skel/.pndXmodmap
   install -m 0644 ${WORKDIR}/asoundrc ${D}${sysconfdir}/skel/.asoundrc
+  install -m 0644 ${WORKDIR}/gtkrc-2.0 ${D}${sysconfdir}/skel/.gtkrc-2.0
   install -m 0644 ${WORKDIR}/fuse ${D}${sysconfdir}/modutils/fuse
   install -m 0644 ${WORKDIR}/snd-pcm-oss ${D}${sysconfdir}/modutils/snd-pcm-oss
 #  install -m 0644 ${WORKDIR}/op_btenabled ${D}${sysconfdir}/skel/.op_btenabled
diff --git a/recipes/pandora-system/pandora-skel/gtkrc-2.0 b/recipes/pandora-system/pandora-skel/gtkrc-2.0
new file mode 100644 (file)
index 0000000..ab13603
--- /dev/null
@@ -0,0 +1,24 @@
+# Transparent background for desktop icon text.
+
+style "xfdesktop-icon-view" {
+XfdesktopIconView::label-alpha = 0
+
+#Text colors (delete these if you want you use gtk theme colors):
+
+fg[NORMAL] = "#ffffff"
+fg[SELECTED] = "#000000"
+fg[ACTIVE] = "#000000"
+
+}
+widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
+
+
+# Make scrollbars wider
+
+style "scroll"
+{
+        GtkScrollbar::slider-width              = 25
+}
+
+class "*" style "scroll"
\ No newline at end of file