summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-04 19:49:24 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-01-04 19:49:24 +0000
commit029f207a9e34de55d6ba81187424cfd8bd699c2d (patch)
tree0a953fddfd484243c647019ec68d345e82e9ded3 /data/elementary/themes
parent9c04c1d1c8c08bf9d98f498b1f885fadddf16306 (diff)
TH - clean battery bg
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/battery.edc38
1 files changed, 13 insertions, 25 deletions
diff --git a/data/elementary/themes/edc/battery.edc b/data/elementary/themes/edc/battery.edc
index 7cf3cf537f..2fd35fa0a3 100644
--- a/data/elementary/themes/edc/battery.edc
+++ b/data/elementary/themes/edc/battery.edc
@@ -16,8 +16,7 @@ group { name: "e/modules/battery/main";
16 parts { 16 parts {
17 part { name: "pulse_clip"; type: RECT; 17 part { name: "pulse_clip"; type: RECT;
18 description { state: "default" 0.0; 18 description { state: "default" 0.0;
19 rel1.to: "bg"; 19 rel.to: "bg";
20 rel2.to: "bg";
21 } 20 }
22 description { state: "faded" 0.0; 21 description { state: "faded" 0.0;
23 inherit: "default" 0.0; 22 inherit: "default" 0.0;
@@ -27,8 +26,7 @@ group { name: "e/modules/battery/main";
27 part { name: "fill_clip_dim"; type: RECT; 26 part { name: "fill_clip_dim"; type: RECT;
28 clip_to: "pulse_clip"; 27 clip_to: "pulse_clip";
29 description { state: "default" 0.0; 28 description { state: "default" 0.0;
30 rel1.to: "bg"; 29 rel.to: "bg";
31 rel2.to: "bg";
32 } 30 }
33 description { state: "visible" 0.0; 31 description { state: "visible" 0.0;
34 inherit: "default" 0.0; 32 inherit: "default" 0.0;
@@ -38,14 +36,12 @@ group { name: "e/modules/battery/main";
38 part { name: "fill_clip"; type: RECT; 36 part { name: "fill_clip"; type: RECT;
39 clip_to: "fill_clip_dim"; 37 clip_to: "fill_clip_dim";
40 description { state: "default" 0.0; 38 description { state: "default" 0.0;
41 rel1.to: "bg"; 39 rel.to: "bg";
42 rel2.to: "bg";
43 } 40 }
44 } 41 }
45 part { name: "info_clip"; type: RECT; 42 part { name: "info_clip"; type: RECT;
46 description { state: "default" 0.0; 43 description { state: "default" 0.0;
47 rel1.to: "bg"; 44 rel.to: "bg";
48 rel2.to: "bg";
49 color: 255 255 255 0; 45 color: 255 255 255 0;
50 } 46 }
51 description { state: "visible" 0.0; 47 description { state: "visible" 0.0;
@@ -58,14 +54,13 @@ group { name: "e/modules/battery/main";
58 description { state: "default" 0.0; 54 description { state: "default" 0.0;
59 aspect: 1.0 1.0; aspect_preference: BOTH; 55 aspect: 1.0 1.0; aspect_preference: BOTH;
60 image.normal: "bat_base.png"; 56 image.normal: "bat_base.png";
61 color: 0 0 0 64; 57 color: 32 32 32 255;
62 } 58 }
63 } 59 }
64 part { name: "fill"; 60 part { name: "fill";
65 clip_to: "fill_clip"; 61 clip_to: "fill_clip";
66 description { state: "default" 0.0; 62 description { state: "default" 0.0;
67 rel1.to: "bg"; 63 rel.to: "bg";
68 rel2.to: "bg";
69 image.normal: "bat_base.png"; 64 image.normal: "bat_base.png";
70 color: 160 160 160 255; 65 color: 160 160 160 255;
71 } 66 }
@@ -79,8 +74,7 @@ group { name: "e/modules/battery/main";
79 clip_to: "info_clip"; 74 clip_to: "info_clip";
80 description { state: "default" 0.0; 75 description { state: "default" 0.0;
81 align: 0.5 0.0; 76 align: 0.5 0.0;
82 rel1.to: "bg"; 77 rel.to: "bg";
83 rel2.to: "bg";
84 rel1.relative: 0.2 0.15; 78 rel1.relative: 0.2 0.15;
85 rel2.relative: 0.8 0.53; 79 rel2.relative: 0.8 0.53;
86 color: 255 255 255 255; 80 color: 255 255 255 255;
@@ -98,8 +92,7 @@ group { name: "e/modules/battery/main";
98 clip_to: "info_clip"; 92 clip_to: "info_clip";
99 description { state: "default" 0.0; 93 description { state: "default" 0.0;
100 align: 0.5 1.0; 94 align: 0.5 1.0;
101 rel1.to: "bg"; 95 rel.to: "bg";
102 rel2.to: "bg";
103 rel1.relative: 0.2 0.47; 96 rel1.relative: 0.2 0.47;
104 rel2.relative: 0.8 0.85; 97 rel2.relative: 0.8 0.85;
105 color: 255 255 255 255; 98 color: 255 255 255 255;
@@ -119,13 +112,11 @@ group { name: "e/modules/battery/main";
119 } 112 }
120 } 113 }
121 programs { 114 programs {
122 program { 115 program { signal: "e,state,charging"; source: "e";
123 signal: "e,state,charging"; source: "e";
124 action: STATE_SET "charging" 0.0; 116 action: STATE_SET "charging" 0.0;
125 target: "fill"; 117 target: "fill";
126 } 118 }
127 program { 119 program { signal: "e,state,discharging"; source: "e";
128 signal: "e,state,discharging"; source: "e";
129 action: STATE_SET "default" 0.0; 120 action: STATE_SET "default" 0.0;
130 target: "fill"; 121 target: "fill";
131 } 122 }
@@ -142,8 +133,7 @@ group { name: "e/modules/battery/main";
142 target: "pulse_clip"; 133 target: "pulse_clip";
143 after: "pulse"; 134 after: "pulse";
144 } 135 }
145 program { 136 program { signal: "e,action,pulse,stop"; source: "e";
146 signal: "e,action,pulse,stop"; source: "e";
147 action: ACTION_STOP; 137 action: ACTION_STOP;
148 target: "pulse"; 138 target: "pulse";
149 target: "pulse2"; 139 target: "pulse2";
@@ -154,15 +144,13 @@ group { name: "e/modules/battery/main";
154 action: STATE_SET "default" 0.0; 144 action: STATE_SET "default" 0.0;
155 target: "pulse_clip"; 145 target: "pulse_clip";
156 } 146 }
157 program { 147 program { signal: "mouse,in"; source: "over";
158 signal: "mouse,in"; source: "over";
159 action: STATE_SET "visible" 0.0; 148 action: STATE_SET "visible" 0.0;
160 transition: SINUSOIDAL 0.3; 149 transition: SINUSOIDAL 0.3;
161 target: "info_clip"; 150 target: "info_clip";
162 target: "fill_clip_dim"; 151 target: "fill_clip_dim";
163 } 152 }
164 program { 153 program { signal: "mouse,out"; source: "over";
165 signal: "mouse,out"; source: "over";
166 action: STATE_SET "default" 0.0; 154 action: STATE_SET "default" 0.0;
167 transition: SINUSOIDAL 0.3; 155 transition: SINUSOIDAL 0.3;
168 target: "info_clip"; 156 target: "info_clip";