summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authordiscomfitor <mike@zentific.com>2013-05-18 19:39:01 +0100
committerdiscomfitor <mike@zentific.com>2013-05-18 19:39:52 +0100
commit9ef130a6da838dc9b396ad1e2aea53c3d1945c59 (patch)
tree8f428d5d0d6ab904edb0a9e687b31de67c4262bb /data
parent0e0b20c0757cb05882c70ff068c5704a15963862 (diff)
ibar now conceals a terrible power. the first person who can figure it out without reading the commit gets a surprise!
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/ibar-ibox.edc208
1 files changed, 208 insertions, 0 deletions
diff --git a/data/themes/edc/ibar-ibox.edc b/data/themes/edc/ibar-ibox.edc
index d1bfb4634..5a8efdec6 100644
--- a/data/themes/edc/ibar-ibox.edc
+++ b/data/themes/edc/ibar-ibox.edc
@@ -32,6 +32,19 @@ group { name: "e/modules/ibox/icon";
32 rel2.relative: 1.0 0.85; 32 rel2.relative: 1.0 0.85;
33 } 33 }
34 } 34 }
35 part { name: "indicator";
36 description { state: "default";
37 rel1.offset: 5 2;
38 image.normal: "led_light.png";
39 aspect: 1.0 1.0; aspect_preference: BOTH;
40 max: 32 32;
41 color: 0 0 0 0;
42 }
43 description { state: "visible" 0.0;
44 inherit: "default" 0.0;
45 color: 255 255 255 200;
46 }
47 }
35 part { name: "over"; type: RECT; 48 part { name: "over"; type: RECT;
36 description { state: "default" 0.0; 49 description { state: "default" 0.0;
37 color: 0 0 0 0; 50 color: 0 0 0 0;
@@ -67,6 +80,18 @@ group { name: "e/modules/ibox/icon";
67 action: STATE_SET "default" 0.0; 80 action: STATE_SET "default" 0.0;
68 target: "item_clip"; 81 target: "item_clip";
69 } 82 }
83 program { name: "ion";
84 signal: "e,state,on"; source: "e";
85 action: STATE_SET "visible" 0.0;
86 target: "indicator";
87 transition: ACCELERATE 0.1;
88 }
89 program { name: "ioff";
90 signal: "e,state,off"; source: "e";
91 action: STATE_SET "default" 0.0;
92 target: "indicator";
93 transition: DECELERATE 0.1;
94 }
70 program { 95 program {
71 signal: "e,state,urgent"; source: "e"; 96 signal: "e,state,urgent"; source: "e";
72 action: STATE_SET "bounce1" 0.0; 97 action: STATE_SET "bounce1" 0.0;
@@ -93,6 +118,189 @@ group { name: "e/modules/ibox/icon";
93 } 118 }
94} 119}
95 120
121group { name: "e/modules/ibar/menu";
122 images.image: "darken_rounded_square.png" COMP;
123 parts {
124 part { name: "sizer"; type: SPACER;
125 description { state: "default";
126 }
127 description { state: "hidden";
128 rel1.relative: 1 1;
129 minmul: 0 0;
130 }
131 }
132 part { name: "clip"; type: RECT;
133 description { state: "default";
134 rel1.offset: -9999 -9999;
135 rel2.offset: 9999 9999;
136 }
137 description { state: "hidden";
138 inherit: "default";
139 color: 0 0 0 0;
140 }
141 }
142 part { name: "base"; mouse_events: 0;
143 clip_to: "clip";
144 description { state: "default" 0.0;
145 rel1.to: "sizer";
146 rel2.to: "sizer";
147 image.normal: "darken_rounded_square.png";
148 image.border: 15 15 15 15;
149 }
150 }
151 part { name: "e.box"; type: BOX;
152 clip_to: "clip";
153 description { state: "default";
154 rel1.to: "sizer";
155 rel1.offset: 12 12;
156 rel2.to: "sizer";
157 rel2.offset: -12 -12;
158 box { layout: "vertical";
159 padding: 0 0;
160 align: 0.5 0.5;
161 min: 1 1;
162 }
163 }
164 }
165 }
166 programs {
167 program { signal: "e,state,hidden"; source: "e";
168 action: STATE_SET "hidden" 0.0;
169 target: "sizer";
170 target: "clip";
171 }
172 program { signal: "e,action,show"; source: "e";
173 action: STATE_SET "default" 0.0;
174 target: "sizer";
175 target: "clip";
176 transition: DECELERATE 0.2;
177 }
178 program { signal: "e,action,hide"; source: "e";
179 action: STATE_SET "hidden" 0.0;
180 target: "sizer";
181 target: "clip";
182 transition: ACCELERATE 0.2;
183 after: "hide2";
184 }
185 program { name: "hide2";
186 in: 0.2 0.0;
187 action: SIGNAL_EMIT "e,action,hide,done" "";
188 }
189 }
190}
191
192group { name: "e/modules/ibar/menu/item";
193 parts {
194 part { name: "sizer"; type: SPACER;
195 scale: 1;
196 description { state: "default";
197 }
198 description { state: "focus";
199 rel1.relative: -2 -2;
200 rel2.relative: 2 2;
201 }
202 }
203 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
204 clip_to: "icon_clip";
205 description { state: "default";
206 align: 0.0 0.5;
207 aspect: 1.0 1.0;
208 aspect_preference: BOTH;
209 rel1.to: "sizer";
210 rel2.to: "sizer";
211 min: 32 32;
212 }
213 }
214 part { name: "e.text.title"; type: TEXT; mouse_events: 0;
215 effect: SHADOW BOTTOM;
216 scale: 1;
217 description { state: "default" 0.0;
218 rel1.to_x: "e.swallow.icon";
219 rel1.relative: 1.0 0.0;
220 rel1.offset: 4 0;
221 rel1.to_y: "sizer";
222 rel2.to: "sizer";
223 rel2.offset: -1 -2;
224 color: 255 255 255 255;
225 color3: 0 0 0 128;
226 align: 0.0 0.0;
227 color_class: "menu_item";
228 text { font: "Sans:style=Bold"; size: 10;
229 text: "window name thingy";
230 min: 1 1;
231 align: 0.0 0.5;
232 text_class: "menu_item";
233 }
234 }
235 description { state: "focus";
236 inherit: "default";
237 visible: 0;
238 }
239 }
240 part { name: "title2"; type: TEXT; mouse_events: 0;
241 effect: GLOW;
242 scale: 1;
243 description { state: "default" 0.0;
244 rel1.offset: -2 -3;
245 rel1.to: "e.text.title";
246 rel2.offset: 2 1;
247 rel2.to: "e.text.title";
248 color: 51 153 255 255;
249 color2: 51 153 255 24;
250 color3: 51 153 255 18;
251 color_class: "menu_item_active";
252 text { font: "Sans:style=Bold"; size: 10;
253 text_source: "e.text.title";
254 min: 1 1;
255 align: 0.0 0.5;
256 text_class: "menu_item";
257 }
258 visible: 0;
259 }
260 description { state: "focus" 0.0;
261 inherit: "default" 0.0;
262 visible: 1;
263 }
264 }
265 part { name: "icon_clip"; type: RECT;
266 description { state: "default";
267 color: 255 255 255 255;
268 rel1.offset: -9999 -9999;
269 rel2.offset: 9999 9999;
270 }
271 description { state: "focus";
272 inherit: "default";
273 color: 255 255 255 222;
274 }
275 }
276 part { name: "event"; type: RECT;
277 description { state: "default";
278 color: 0 0 0 0;
279 }
280 }
281 }
282 programs {
283 program {
284 signal: "mouse,in"; source: "event";
285 action: STATE_SET "focus" 0.0;
286 target: "sizer";
287 target: "e.text.title";
288 target: "title2";
289 target: "icon_clip";
290 transition: ACCELERATE 0.2;
291 }
292 program {
293 signal: "mouse,out"; source: "event";
294 action: STATE_SET "default" 0.0;
295 target: "sizer";
296 target: "e.text.title";
297 target: "title2";
298 target: "icon_clip";
299 transition: DECELERATE 0.2;
300 }
301 }
302}
303
96group { name: "e/modules/ibox/icon_overlay"; 304group { name: "e/modules/ibox/icon_overlay";
97 alias: "e/modules/ibar/icon_overlay"; 305 alias: "e/modules/ibar/icon_overlay";
98 images.image: "darken_rounded_square.png" COMP; 306 images.image: "darken_rounded_square.png" COMP;