another checkpoint
[manmower/obtheme.git] / theme.obtheme
1 //#include materials.obtheme
2
3 //version(1)
4
5 material flat {
6         opacity(1)
7 }
8
9 material grad {
10         opacity(1)
11         gradient(split)
12 }
13
14 material none {
15 }
16
17 theme awesome {
18         style regular_window {
19                 decor clientwindow {
20                         space {
21                                 anchor(0 0 0)
22                                 up(1 0 0)
23                         }
24                         geometry {
25                                 shapeof(client)
26                         }
27                         material(flat)
28                         texture { //$CLIENT.contents
29                         }
30
31                         decor titlebar {
32                                 context(titlebar)
33                                 geometry {
34                                 //      box (0, 0, 0) to (100% of $CLIENT, 100%, 0)
35                                 }
36                                 material(flat)
37 //texture {
38                                 decor title {
39                                         geometry {
40 //                                              text(client.title)
41 //                                              justify(center)
42                                         }
43                                 }
44                                 decor minbutton {
45                                         material(none)
46                                         context(minimize)
47                                 }
48                                 decor maxbutton {
49                                         material(none)
50                                         context(maximize)
51                                 }
52                         }
53                         decor handle {
54                                 space {
55                                         anchor(0 0 0)
56                                         up(0 0 0)
57                                 }
58                                 decor leftgrip {
59                                         context(blcorner)
60                                         cursor(SOUTHWEST)
61                                 }
62                                 decor rightgrip {
63                                         context(brcorner)
64                                         cursor(SOUTHEAST)
65                                 }
66                                 context(bottom)
67                                 cursor(SOUTH)
68                         }
69                 }
70         }
71 }