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;
219 program { signal: "e,action,show"; source: "e";
220 action: STATE_SET "default" 0.0;
223 transition: SINUSOIDAL 0.2;
226 program { name: "show2";
227 action: SIGNAL_EMIT "e,action,show,done" "";
230 program { signal: "e,action,hide"; source: "e";
231 action: STATE_SET "hidden" 0.0;
234 transition: SINUSOIDAL 0.2;
237 program { name: "hide2";
238 action: SIGNAL_EMIT "e,action,hide,done" "";
243 group { name: "e/modules/ibar/menu/item";
244 images.image: "glow_small.png" COMP;
245 images.image: "win_shadow.png" COMP;
247 part { name: "icon"; type: SPACER;
248 description { state: "default";
252 aspect: 1.0 1.0; aspect_preference: BOTH;
257 part { name: "shadow"; mouse_events: 0;
258 description { state: "default" 0.0;
259 image.normal: "win_shadow.png";
260 image.border: 14 14 14 14;
262 rel1.to: "e.swallow.icon";
264 rel2.to: "e.swallow.icon";
269 part { name: "glow"; mouse_events: 0;
270 description { state: "default" 0.0;
271 rel1.to: "e.swallow.icon";
272 rel2.to: "e.swallow.icon";
273 image.normal: "glow_small.png";
274 image.border: 7 7 7 7;
276 color: 255 255 255 0;
279 description { state: "focus" 0.0;
280 inherit: "default" 0.0;
283 color: 255 255 255 255;
287 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
288 clip_to: "icon_clip";
289 description { state: "default";
293 description { state: "focus";
299 part { name: "e.text.title"; type: TEXT; mouse_events: 0;
300 effect: SHADOW BOTTOM;
302 description { state: "default" 0.0;
304 rel1.relative: 1.0 0.0;
307 color: 255 255 255 255;
310 color_class: "menu_item";
312 text { font: FNBD; size: 10;
313 text: "window name thingy";
316 text_class: "menu_item";
319 description { state: "focus";
324 part { name: "title2"; type: TEXT; mouse_events: 0;
327 description { state: "default" 0.0;
329 rel1.to: "e.text.title";
331 rel2.to: "e.text.title";
332 color: 51 153 255 255;
333 color2: 51 153 255 24;
334 color3: 51 153 255 18;
335 color_class: "menu_item_active";
337 text { font: FNBD; size: 10;
338 text_source: "e.text.title";
341 text_class: "menu_item";
345 description { state: "focus" 0.0;
346 inherit: "default" 0.0;
350 part { name: "icon_clip"; type: RECT;
351 description { state: "default";
352 color: 255 255 255 200;
353 rel1.offset: -9999 -9999;
354 rel2.offset: 9999 9999;
356 description { state: "focus";
358 color: 255 255 255 255;
361 part { name: "event"; type: RECT;
362 description { state: "default";
369 signal: "mouse,in"; source: "event";
370 action: STATE_SET "focus" 0.0;
371 target: "e.swallow.icon";
372 target: "e.text.title";
376 transition: ACCELERATE 0.2;
379 signal: "mouse,out"; source: "event";
380 action: STATE_SET "default" 0.0;
381 target: "e.swallow.icon";
382 target: "e.text.title";
386 transition: DECELERATE 0.2;
391 group { name: "e/modules/ibox/icon_overlay";
392 alias: "e/modules/ibar/icon_overlay";
393 images.image: "darken_rounded_square.png" COMP;
398 part { name: "item_clip"; type: RECT;
399 description { state: "default" 0.0;
400 rel1.offset: -100 -100;
402 color: 255 255 255 255;
404 description { state: "disabled" 0.0;
405 inherit: "default" 0.0;
406 color: 255 255 255 64;
409 part { name: "base"; type: SPACER;
410 description { state: "default" 0.0;
414 description { state: "bounce1" 0.0;
415 inherit: "default" 0.0;
416 rel1.relative: 0.0 0.15;
417 rel2.relative: 1.0 1.15;
419 description { state: "bounce2" 0.0;
420 inherit: "default" 0.0;
421 rel1.relative: 0.0 -0.15;
422 rel2.relative: 1.0 0.85;
425 part { name: "background"; type: RECT;
426 clip_to: "item_clip";
427 description { state: "default" 0.0;
431 color: 255 255 255 0;
433 description { state: "visible" 0.0;
434 inherit: "default" 0.0;
436 color: 255 255 255 255;
438 description { state: "hidden" 0.0;
439 inherit: "default" 0.0;
441 rel1.relative: -0.5 -0.5;
442 rel2.relative: 1.5 1.5;
444 description { state: "huge" 0.0;
445 inherit: "default" 0.0;
447 rel1.relative: -2.0 -2.0;
448 rel2.relative: 3.0 3.0;
449 color: 255 255 255 0;
452 part { name: "e.swallow.content"; type: SWALLOW;
453 clip_to: "background";
455 state: "default" 0.0;
456 rel1.to: "background";
457 rel2.to: "background";
460 part { name: "bevel"; mouse_events: 0;
461 description { state: "default" 0.0;
463 rel1.to: "e.text.label";
465 rel2.to: "e.text.label";
466 image.normal: "darken_rounded_square.png";
467 image.border: 15 15 15 15;
470 color: 255 255 255 0;
473 description { state: "visible" 0.0;
474 inherit: "default" 0.0;
475 color: 255 255 255 255;
479 part { name: "e.text.label"; type: TEXT; mouse_events: 0;
480 effect: SHADOW BOTTOM;
482 description { state: "default" 0.0;
483 rel1.relative: 0.0 1.0;
484 rel2.relative: 1.0 1.0;
485 color: 255 255 255 0;
487 color_class: "module_label";
488 text { font: FN; size: 10;
491 text_class: "module_normal";
494 description { state: "visible" 0.0;
495 inherit: "default" 0.0;
496 rel1.relative: 0.0 0.5;
497 rel2.relative: 1.0 0.5;
498 color: 255 255 255 255;
505 // signal: "e,action,exec"; source: "e";
508 // signal: "e,action,start"; source: "e";
511 signal: "load"; source: "";
516 program { name: "go_active";
517 signal: "e,state,focused"; source: "e";
518 action: STATE_SET "visible" 0.0;
519 target: "background";
522 program { name: "go_active2";
523 action: STATE_SET "hidden" 0.0;
524 transition: LINEAR 0.5;
525 target: "background";
528 program { name: "go_passive";
529 signal: "e,state,unfocused"; source: "e";
532 target: "go_active2";
533 after: "go_passive2";
536 signal: "e,action,show,label"; source: "e";
537 action: STATE_SET "visible" 0.0;
538 transition: SINUSOIDAL 0.5;
539 target: "e.text.label";
543 signal: "e,action,hide,label"; source: "e";
544 action: STATE_SET "default" 0.0;
545 transition: SINUSOIDAL 1.0;
546 target: "e.text.label";
549 program { name: "go_passive2";
550 action: STATE_SET "default" 0.0;
551 target: "background";
553 if (get_int(urgent) == 1) {
554 run_program(PROGRAM:"go_urgent");
556 run_program(PROGRAM:"go_not_urgent");
561 signal: "e,state,urgent"; source: "e";
566 program { name: "go_urgent";
567 signal: "e,state,urgent"; source: "e";
568 action: STATE_SET "disabled" 0.0;
572 signal: "e,state,not_urgent"; source: "e";
577 program { name: "go_not_urgent";
578 signal: "e,state,not_urgent"; source: "e";
579 action: STATE_SET "default" 0.0;
583 signal: "e,action,exec"; source: "e";
586 program { name: "exec_start";
587 signal: "e,action,start"; source: "e";
590 target: "go_active2";
591 target: "go_passive";
592 target: "go_passive2";
597 program { name: "go_big";
598 action: STATE_SET "visible" 0.0;
599 target: "background";
602 program { name: "go_big2";
603 action: STATE_SET "huge" 0.0;
604 transition: LINEAR 0.5;
605 target: "background";
610 group { name: "e/modules/ibox/drop";
611 alias: "e/modules/ibar/drop";
612 images.image: "outline_glow.png" COMP;
613 images.image: "diagonal_stripes.png" COMP;
615 part { name: "base"; mouse_events: 0;
616 description { state: "default" 0.0;
619 image.normal: "outline_glow.png";
620 image.border: 4 4 4 4;
625 part { name: "pat"; mouse_events: 0;
626 description { state: "default" 0.0;
631 image.normal: "diagonal_stripes.png";
632 color: 255 255 255 25;
633 TILED_PATTERN(240, 240)
639 group { name: "e/modules/ibox/drop_overlay";
640 alias: "e/modules/ibar/drop_overlay";
641 images.image: "mini_blue_glow_arrow_0.png" COMP;
642 images.image: "mini_blue_glow_arrow_1.png" COMP;
643 images.image: "mini_blue_glow_arrow_2.png" COMP;
644 images.image: "mini_blue_glow_arrow_3.png" COMP;
646 part { name: "drop0"; mouse_events: 0;
647 description { state: "default" 0.0;
648 image.normal: "mini_blue_glow_arrow_0.png";
649 rel1.offset: -10 -10;
650 rel1.relative: 0.0 0.0;
651 rel2.offset: -10 -10;
652 rel2.relative: 0.0 0.0;
658 description { state: "active" 0.0;
659 inherit: "default" 0.0;
662 description { state: "hidden" 0.0;
663 inherit: "default" 0.0;
667 color: 255 255 255 0;
670 part { name: "drop1"; mouse_events: 0;
671 description { state: "default" 0.0;
672 image.normal: "mini_blue_glow_arrow_1.png";
674 rel1.relative: 1.0 0.0;
676 rel2.relative: 1.0 0.0;
682 description { state: "active" 0.0;
683 inherit: "default" 0.0;
686 description { state: "hidden" 0.0;
687 inherit: "default" 0.0;
691 color: 255 255 255 0;
694 part { name: "drop2"; mouse_events: 0;
695 description { state: "default" 0.0;
696 image.normal: "mini_blue_glow_arrow_2.png";
698 rel1.relative: 1.0 1.0;
700 rel2.relative: 1.0 1.0;
706 description { state: "active" 0.0;
707 inherit: "default" 0.0;
710 description { state: "hidden" 0.0;
711 inherit: "default" 0.0;
712 rel1.offset: -12 -12;
713 rel2.offset: -12 -12;
715 color: 255 255 255 0;
718 part { name: "drop3"; mouse_events: 0;
719 description { state: "default" 0.0;
720 image.normal: "mini_blue_glow_arrow_3.png";
722 rel1.relative: 0.0 1.0;
724 rel2.relative: 0.0 1.0;
730 description { state: "active" 0.0;
731 inherit: "default" 0.0;
734 description { state: "hidden" 0.0;
735 inherit: "default" 0.0;
739 color: 255 255 255 0;
744 program { name: "drop1";
745 signal: "show"; source: "";
746 action: STATE_SET "active" 0.0;
753 program { name: "drop2";
754 action: STATE_SET "hidden" 0.0;
755 transition: LINEAR 0.5;