a more complete test theme
authorDerek Foreman <foremande@gmail.com>
Thu, 20 May 2010 18:08:40 +0000 (14:08 -0400)
committerDerek Foreman <foremande@gmail.com>
Thu, 20 May 2010 18:08:40 +0000 (14:08 -0400)
theme.obtheme

index 3bc8496..e4a3af1 100644 (file)
@@ -22,7 +22,8 @@ theme awesome {
                                up(0, 0, 0)
                        }
                        geometry {
-                               shapeof(client)
+//                             shapeof(client)
+                               box (0, 0, 0) to (client.width, client.height, 0)
                        }
                        material(flat)
                        texture {
@@ -51,20 +52,40 @@ theme awesome {
                                        context(minimize)
                                }
                                decor maxbutton {
+                                       geometry {
+                                               box (0, 0, 0) to (10, 10, 0)
+                                       }
                                        material(none)
                                        context(maximize)
                                }
                        }
                        decor handle {
+                               geometry {
+                                       box (0, 0, 0) to (client.width, 10, 0)
+                               }
                                space {
-                                       anchor(0, 0, 0)
-                                       up(0, 0, 0)
+                                       anchor(0, client.height, 0)
+                                       up(0, 1, 0)
                                }
                                decor leftgrip {
+                                       space {
+                                               anchor(0, client.height, 0)
+                                               up(0, 1, 0)
+                                       }
+                                       geometry {
+                                               box (0, 0, 0) to (30, 10, 0)
+                                       }
                                        context(blcorner)
                                        cursor(SOUTHWEST)
                                }
                                decor rightgrip {
+                                       space {
+                                               anchor(client.width - 30, client.height, 0)
+                                               up(0, 1, 0)
+                                       }
+                                       geometry {
+                                               box (0, 0, 0) to (30, 10, 0)
+                                       }
                                        context(brcorner)
                                        cursor(SOUTHEAST)
                                }