1 group { name: "e/modules/ibar/separator/default";
2 images.image: "bevel_dark_in.png" COMP;
5 description { state: "default" 0.0;
10 image.normal: "bevel_dark_in.png";
11 image.border: 2 2 2 2;
18 group { name: "e/modules/ibar/separator/horizontal";
19 inherit: "e/modules/ibar/separator/default";
22 description { state: "default" 0.0;
29 group { name: "e/modules/ibox/icon";
30 alias: "e/modules/ibar/icon";
31 // 1 or 0 if u want an icon holder to raise when the mouse (or keyboard) hilights it
32 data.item: "raise_on_hilight" "0";
33 // data.item: "item_list" "item item2 item3";
34 images.image: "led_tiny_blue.png" COMP;
36 part { name: "item_clip"; type: RECT;
37 description { state: "default" 0.0;
38 rel1.offset: -100 -100;
40 color: 255 255 255 255;
42 description { state: "disabled" 0.0;
43 inherit: "default" 0.0;
44 color: 255 255 255 64;
47 part { name: "e.swallow.content"; type: SWALLOW;
49 description { state: "default" 0.0;
53 description { state: "bounce1" 0.0;
54 inherit: "default" 0.0;
55 rel1.relative: 0.0 0.15;
56 rel2.relative: 1.0 1.15;
58 description { state: "bounce2" 0.0;
59 inherit: "default" 0.0;
60 rel1.relative: 0.0 -0.15;
61 rel2.relative: 1.0 0.85;
64 part { name: "indicator";
65 description { state: "default";
68 rel1.relative: 1.0 1.0;
70 rel2.relative: 1.0 1.0;
72 image.normal: "led_tiny_blue.png";
76 description { state: "visible" 0.0;
77 inherit: "default" 0.0;
78 color: 255 255 255 255;
82 part { name: "over"; type: RECT;
83 description { state: "default" 0.0;
90 // signal: "e,action,exec"; source: "e";
93 // signal: "e,action,start"; source: "e";
95 // program { name: "go_active";
96 // signal: "e,state,focused"; source: "e";
98 // program { name: "go_passive";
99 // signal: "e,state,unfocused"; source: "e";
102 // signal: "e,action,show,label"; source: "e";
105 // signal: "e,action,hide,label"; source: "e";
108 signal: "e,state,starting"; source: "e";
109 action: STATE_SET "disabled" 0.0;
113 signal: "e,state,started"; source: "e";
114 action: STATE_SET "default" 0.0;
117 program { name: "ion";
118 signal: "e,state,on"; source: "e";
119 action: STATE_SET "visible" 0.0;
121 transition: ACCELERATE 0.1;
123 program { name: "ioff";
124 signal: "e,state,off"; source: "e";
125 action: STATE_SET "default" 0.0;
127 transition: DECELERATE 0.1;
130 signal: "e,state,on"; source: "e";
131 action: STATE_SET "visible" 0.0;
133 transition: ACCELERATE 0.2;
136 signal: "e,state,off"; source: "e";
137 action: STATE_SET "default" 0.0;
139 transition: DECELERATE 0.8;
142 signal: "e,state,urgent"; source: "e";
143 action: STATE_SET "bounce1" 0.0;
144 target: "e.swallow.content";
147 program { name: "urg1";
148 action: STATE_SET "bounce2" 0.0;
149 transition: DECELERATE 0.2;
150 target: "e.swallow.content";
153 program { name: "urg2";
154 action: STATE_SET "bounce1" 0.0;
155 transition: ACCELERATE 0.2;
156 target: "e.swallow.content";
160 signal: "e,state,not_urgent"; source: "e";
161 action: STATE_SET "default" 0.0;
162 target: "e.swallow.content";
167 group { name: "e/modules/ibar/menu";
168 images.image: "darken_rounded_square.png" COMP;
170 part { name: "sizer"; type: SPACER;
171 description { state: "default"; }
172 description { state: "hidden";
173 rel1.relative: 0.5 1.0;
174 rel2.relative: 0.5 1.0;
178 part { name: "clip"; type: RECT;
179 description { state: "default";
180 rel1.offset: -9999 -9999;
181 rel2.offset: 9999 9999;
183 description { state: "hidden";
188 part { name: "base"; mouse_events: 0;
190 description { state: "default" 0.0;
193 image.normal: "darken_rounded_square.png";
194 image.border: 15 15 15 15;
197 part { name: "e.box"; type: BOX;
199 description { state: "default";
203 rel2.offset: -13 -13;
204 box { layout: "vertical";
213 program { signal: "e,state,hidden"; source: "e";
214 action: STATE_SET "hidden" 0.0;
218 program { signal: "e,action,show"; source: "e";
219 action: STATE_SET "default" 0.0;
222 transition: DECELERATE 0.2;
224 program { signal: "e,action,hide"; source: "e";
225 action: STATE_SET "hidden" 0.0;
228 transition: ACCELERATE 0.2;
231 program { name: "hide2";
233 action: SIGNAL_EMIT "e,action,hide,done" "";
238 group { name: "e/modules/ibar/menu/item";
239 images.image: "glow_small.png" COMP;
240 images.image: "win_shadow.png" COMP;
242 part { name: "icon"; type: SPACER;
243 description { state: "default";
247 aspect: 1.0 1.0; aspect_preference: BOTH;
252 part { name: "shadow"; mouse_events: 0;
253 description { state: "default" 0.0;
254 image.normal: "win_shadow.png";
255 image.border: 14 14 14 14;
257 rel1.to: "e.swallow.icon";
259 rel2.to: "e.swallow.icon";
264 part { name: "glow"; mouse_events: 0;
265 description { state: "default" 0.0;
266 rel1.to: "e.swallow.icon";
267 rel2.to: "e.swallow.icon";
268 image.normal: "glow_small.png";
269 image.border: 7 7 7 7;
271 color: 255 255 255 0;
274 description { state: "focus" 0.0;
275 inherit: "default" 0.0;
278 color: 255 255 255 255;
282 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
283 clip_to: "icon_clip";
284 description { state: "default";
288 description { state: "focus";
294 part { name: "e.text.title"; type: TEXT; mouse_events: 0;
295 effect: SHADOW BOTTOM;
297 description { state: "default" 0.0;
299 rel1.relative: 1.0 0.0;
302 color: 255 255 255 255;
305 color_class: "menu_item";
307 text { font: FNBD; size: 10;
308 text: "window name thingy";
311 text_class: "menu_item";
314 description { state: "focus";
319 part { name: "title2"; type: TEXT; mouse_events: 0;
322 description { state: "default" 0.0;
324 rel1.to: "e.text.title";
326 rel2.to: "e.text.title";
327 color: 51 153 255 255;
328 color2: 51 153 255 24;
329 color3: 51 153 255 18;
330 color_class: "menu_item_active";
332 text { font: FNBD; size: 10;
333 text_source: "e.text.title";
336 text_class: "menu_item";
340 description { state: "focus" 0.0;
341 inherit: "default" 0.0;
345 part { name: "icon_clip"; type: RECT;
346 description { state: "default";
347 color: 255 255 255 200;
348 rel1.offset: -9999 -9999;
349 rel2.offset: 9999 9999;
351 description { state: "focus";
353 color: 255 255 255 255;
356 part { name: "event"; type: RECT;
357 description { state: "default";
364 signal: "mouse,in"; source: "event";
365 action: STATE_SET "focus" 0.0;
366 target: "e.swallow.icon";
367 target: "e.text.title";
371 transition: ACCELERATE 0.2;
374 signal: "mouse,out"; source: "event";
375 action: STATE_SET "default" 0.0;
376 target: "e.swallow.icon";
377 target: "e.text.title";
381 transition: DECELERATE 0.2;
386 group { name: "e/modules/ibox/icon_overlay";
387 alias: "e/modules/ibar/icon_overlay";
388 images.image: "darken_rounded_square.png" COMP;
393 part { name: "item_clip"; type: RECT;
394 description { state: "default" 0.0;
395 rel1.offset: -100 -100;
397 color: 255 255 255 255;
399 description { state: "disabled" 0.0;
400 inherit: "default" 0.0;
401 color: 255 255 255 64;
404 part { name: "base"; type: SPACER;
405 description { state: "default" 0.0;
409 description { state: "bounce1" 0.0;
410 inherit: "default" 0.0;
411 rel1.relative: 0.0 0.15;
412 rel2.relative: 1.0 1.15;
414 description { state: "bounce2" 0.0;
415 inherit: "default" 0.0;
416 rel1.relative: 0.0 -0.15;
417 rel2.relative: 1.0 0.85;
420 part { name: "background"; type: RECT;
421 clip_to: "item_clip";
422 description { state: "default" 0.0;
426 color: 255 255 255 0;
428 description { state: "visible" 0.0;
429 inherit: "default" 0.0;
431 color: 255 255 255 255;
433 description { state: "hidden" 0.0;
434 inherit: "default" 0.0;
436 rel1.relative: -0.5 -0.5;
437 rel2.relative: 1.5 1.5;
439 description { state: "huge" 0.0;
440 inherit: "default" 0.0;
442 rel1.relative: -2.0 -2.0;
443 rel2.relative: 3.0 3.0;
444 color: 255 255 255 0;
447 part { name: "e.swallow.content"; type: SWALLOW;
448 clip_to: "background";
450 state: "default" 0.0;
451 rel1.to: "background";
452 rel2.to: "background";
455 part { name: "bevel"; mouse_events: 0;
456 description { state: "default" 0.0;
458 rel1.to: "e.text.label";
460 rel2.to: "e.text.label";
461 image.normal: "darken_rounded_square.png";
462 image.border: 15 15 15 15;
465 color: 255 255 255 0;
468 description { state: "visible" 0.0;
469 inherit: "default" 0.0;
470 color: 255 255 255 255;
474 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
475 effect: SHADOW BOTTOM;
477 description { state: "default" 0.0;
478 rel1.relative: 0.0 1.0;
479 rel2.relative: 1.0 1.0;
480 color: 255 255 255 0;
482 color_class: "module_label";
483 text { font: FN; size: 10;
486 text_class: "module_normal";
489 description { state: "visible" 0.0;
490 inherit: "default" 0.0;
491 rel1.relative: 0.0 0.5;
492 rel2.relative: 1.0 0.5;
493 color: 255 255 255 255;
500 // signal: "e,action,exec"; source: "e";
503 // signal: "e,action,start"; source: "e";
506 signal: "load"; source: "";
511 program { name: "go_active";
512 signal: "e,state,focused"; source: "e";
513 action: STATE_SET "visible" 0.0;
514 target: "background";
517 program { name: "go_active2";
518 action: STATE_SET "hidden" 0.0;
519 transition: LINEAR 0.5;
520 target: "background";
523 program { name: "go_passive";
524 signal: "e,state,unfocused"; source: "e";
527 target: "go_active2";
528 after: "go_passive2";
531 signal: "e,action,show,label"; source: "e";
532 action: STATE_SET "visible" 0.0;
533 transition: SINUSOIDAL 0.5;
534 target: "e.text.label";
538 signal: "e,action,hide,label"; source: "e";
539 action: STATE_SET "default" 0.0;
540 transition: SINUSOIDAL 1.0;
541 target: "e.text.label";
544 program { name: "go_passive2";
545 action: STATE_SET "default" 0.0;
546 target: "background";
548 if (get_int(urgent) == 1) {
549 run_program(PROGRAM:"go_urgent");
551 run_program(PROGRAM:"go_not_urgent");
556 signal: "e,state,urgent"; source: "e";
561 program { name: "go_urgent";
562 signal: "e,state,urgent"; source: "e";
563 action: STATE_SET "disabled" 0.0;
567 signal: "e,state,not_urgent"; source: "e";
572 program { name: "go_not_urgent";
573 signal: "e,state,not_urgent"; source: "e";
574 action: STATE_SET "default" 0.0;
578 signal: "e,action,exec"; source: "e";
581 program { name: "exec_start";
582 signal: "e,action,start"; source: "e";
585 target: "go_active2";
586 target: "go_passive";
587 target: "go_passive2";
592 program { name: "go_big";
593 action: STATE_SET "visible" 0.0;
594 target: "background";
597 program { name: "go_big2";
598 action: STATE_SET "huge" 0.0;
599 transition: LINEAR 0.5;
600 target: "background";
605 group { name: "e/modules/ibox/drop";
606 alias: "e/modules/ibar/drop";
607 images.image: "outline_glow.png" COMP;
608 images.image: "diagonal_stripes.png" COMP;
610 part { name: "base"; mouse_events: 0;
611 description { state: "default" 0.0;
614 image.normal: "outline_glow.png";
615 image.border: 4 4 4 4;
620 part { name: "pat"; mouse_events: 0;
621 description { state: "default" 0.0;
626 image.normal: "diagonal_stripes.png";
627 color: 255 255 255 25;
628 TILED_PATTERN(240, 240)
634 group { name: "e/modules/ibox/drop_overlay";
635 alias: "e/modules/ibar/drop_overlay";
636 images.image: "mini_blue_glow_arrow_0.png" COMP;
637 images.image: "mini_blue_glow_arrow_1.png" COMP;
638 images.image: "mini_blue_glow_arrow_2.png" COMP;
639 images.image: "mini_blue_glow_arrow_3.png" COMP;
641 part { name: "drop0"; mouse_events: 0;
642 description { state: "default" 0.0;
643 image.normal: "mini_blue_glow_arrow_0.png";
644 rel1.offset: -10 -10;
645 rel1.relative: 0.0 0.0;
646 rel2.offset: -10 -10;
647 rel2.relative: 0.0 0.0;
653 description { state: "active" 0.0;
654 inherit: "default" 0.0;
657 description { state: "hidden" 0.0;
658 inherit: "default" 0.0;
662 color: 255 255 255 0;
665 part { name: "drop1"; mouse_events: 0;
666 description { state: "default" 0.0;
667 image.normal: "mini_blue_glow_arrow_1.png";
669 rel1.relative: 1.0 0.0;
671 rel2.relative: 1.0 0.0;
677 description { state: "active" 0.0;
678 inherit: "default" 0.0;
681 description { state: "hidden" 0.0;
682 inherit: "default" 0.0;
686 color: 255 255 255 0;
689 part { name: "drop2"; mouse_events: 0;
690 description { state: "default" 0.0;
691 image.normal: "mini_blue_glow_arrow_2.png";
693 rel1.relative: 1.0 1.0;
695 rel2.relative: 1.0 1.0;
701 description { state: "active" 0.0;
702 inherit: "default" 0.0;
705 description { state: "hidden" 0.0;
706 inherit: "default" 0.0;
707 rel1.offset: -12 -12;
708 rel2.offset: -12 -12;
710 color: 255 255 255 0;
713 part { name: "drop3"; mouse_events: 0;
714 description { state: "default" 0.0;
715 image.normal: "mini_blue_glow_arrow_3.png";
717 rel1.relative: 0.0 1.0;
719 rel2.relative: 0.0 1.0;
725 description { state: "active" 0.0;
726 inherit: "default" 0.0;
729 description { state: "hidden" 0.0;
730 inherit: "default" 0.0;
734 color: 255 255 255 0;
739 program { name: "drop1";
740 signal: "show"; source: "";
741 action: STATE_SET "active" 0.0;
748 program { name: "drop2";
749 action: STATE_SET "hidden" 0.0;
750 transition: LINEAR 0.5;