summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 22:52:08 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-17 22:52:08 +0000
commit9a70d3cc976c1008ad061801b6e090a5723fd6b8 (patch)
treeb26f1fcf0658a958bb66c494c09c7d01888a5d4d /data
parentfa106bc710d5b730fb80e37ca1f6838bf8455a45 (diff)
TH - battery - add sound for ac on/off - very useful
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/default.edc22
-rw-r--r--data/elementary/themes/edc/batman.edc15
-rw-r--r--data/elementary/themes/edc/battery.edc6
-rw-r--r--data/elementary/themes/snd/synth-worble-down.wavbin0 -> 68792 bytes
-rw-r--r--data/elementary/themes/snd/synth-worble-up.wavbin0 -> 68792 bytes
5 files changed, 23 insertions, 20 deletions
diff --git a/data/elementary/themes/default.edc b/data/elementary/themes/default.edc
index 44f26d96f7..71630f1512 100644
--- a/data/elementary/themes/default.edc
+++ b/data/elementary/themes/default.edc
@@ -1,4 +1,4 @@
1efl_version: 1 22; 1efl_version: 1 25;
2 2
3#include "macros.edc" 3#include "macros.edc"
4 4
@@ -6,20 +6,22 @@ externals.external: "elm";
6 6
7// theme api version. from 1.10 on we will check version to avoid 7// theme api version. from 1.10 on we will check version to avoid
8// compat issues 8// compat issues
9data.item: "version" "119"; 9data.item: "version" "125";
10data.item: "efl_theme_base" "dark"; 10data.item: "efl_theme_base" "dark";
11 11
12collections { 12collections {
13 13
14sounds { 14sounds {
15 sample { name: "splash" LOSSY 256; source: "splash.wav"; } 15 sample { name: "splash" LOSSY 256; source: "splash.wav"; }
16 sample { name: "wood-tap1" LOSSY 64; source: "wood-tap.wav"; } 16 sample { name: "wood-tap1" LOSSY 64; source: "wood-tap.wav"; }
17 sample { name: "wood-tap2" LOSSY 64; source: "wood-tap2.wav"; } 17 sample { name: "wood-tap2" LOSSY 64; source: "wood-tap2.wav"; }
18 sample { name: "key-tap1" LOSSY 64; source: "kbd-tap.wav"; } 18 sample { name: "key-tap1" LOSSY 64; source: "kbd-tap.wav"; }
19 sample { name: "key-tap2" LOSSY 64; source: "kbd-tap2.wav"; } 19 sample { name: "key-tap2" LOSSY 64; source: "kbd-tap2.wav"; }
20 sample { name: "key-tap3" LOSSY 64; source: "kbd-tap3.wav"; } 20 sample { name: "key-tap3" LOSSY 64; source: "kbd-tap3.wav"; }
21 sample { name: "key-tap4" LOSSY 64; source: "kbd-tap4.wav"; } 21 sample { name: "key-tap4" LOSSY 64; source: "kbd-tap4.wav"; }
22 sample { name: "key-tap5" LOSSY 64; source: "kbd-tap5.wav"; } 22 sample { name: "key-tap5" LOSSY 64; source: "kbd-tap5.wav"; }
23 sample { name: "synth-worble-dn" LOSSY 128; source: "synth-worble-down.wav"; }
24 sample { name: "synth-worble-up" LOSSY 128; source: "synth-worble-up.wav"; }
23} 25}
24 26
25#include "ic.edc" 27#include "ic.edc"
diff --git a/data/elementary/themes/edc/batman.edc b/data/elementary/themes/edc/batman.edc
index 001beb3d54..e13c586e5e 100644
--- a/data/elementary/themes/edc/batman.edc
+++ b/data/elementary/themes/edc/batman.edc
@@ -69,13 +69,11 @@ group { name: "e/gadget/batman/main";
69 } 69 }
70 } 70 }
71 programs { 71 programs {
72 program { 72 program { signal: "e,state,charging"; source: "e";
73 signal: "e,state,charging"; source: "e";
74 action: STATE_SET "charging" 0.0; 73 action: STATE_SET "charging" 0.0;
75 target: "fill"; 74 target: "fill";
76 } 75 }
77 program { 76 program { signal: "e,state,discharging"; source: "e";
78 signal: "e,state,discharging"; source: "e";
79 action: STATE_SET "default" 0.0; 77 action: STATE_SET "default" 0.0;
80 target: "fill"; 78 target: "fill";
81 } 79 }
@@ -92,8 +90,7 @@ group { name: "e/gadget/batman/main";
92 target: "pulse_clip"; 90 target: "pulse_clip";
93 after: "pulse"; 91 after: "pulse";
94 } 92 }
95 program { 93 program { signal: "e,action,pulse,stop"; source: "e";
96 signal: "e,action,pulse,stop"; source: "e";
97 action: ACTION_STOP; 94 action: ACTION_STOP;
98 target: "pulse"; 95 target: "pulse";
99 target: "pulse2"; 96 target: "pulse2";
@@ -104,14 +101,12 @@ group { name: "e/gadget/batman/main";
104 action: STATE_SET "default" 0.0; 101 action: STATE_SET "default" 0.0;
105 target: "pulse_clip"; 102 target: "pulse_clip";
106 } 103 }
107 program { 104 program { signal: "mouse,in"; source: "over";
108 signal: "mouse,in"; source: "over";
109 action: STATE_SET "visible" 0.0; 105 action: STATE_SET "visible" 0.0;
110 transition: SINUSOIDAL 0.3; 106 transition: SINUSOIDAL 0.3;
111 target: "fill_clip_dim"; 107 target: "fill_clip_dim";
112 } 108 }
113 program { 109 program { signal: "mouse,out"; source: "over";
114 signal: "mouse,out"; source: "over";
115 action: STATE_SET "default" 0.0; 110 action: STATE_SET "default" 0.0;
116 transition: SINUSOIDAL 0.3; 111 transition: SINUSOIDAL 0.3;
117 target: "fill_clip_dim"; 112 target: "fill_clip_dim";
diff --git a/data/elementary/themes/edc/battery.edc b/data/elementary/themes/edc/battery.edc
index 8b1b34c2ce..46d895eba4 100644
--- a/data/elementary/themes/edc/battery.edc
+++ b/data/elementary/themes/edc/battery.edc
@@ -112,6 +112,12 @@ group { name: "e/modules/battery/main";
112 } 112 }
113 } 113 }
114 programs { 114 programs {
115 program { signal: "e,state,ac,on"; source: "e";
116 action: PLAY_SAMPLE "synth-worble-up" 1.0 ALERT;
117 }
118 program { signal: "e,state,ac,off"; source: "e";
119 action: PLAY_SAMPLE "synth-worble-dn" 1.0 ALERT;
120 }
115 program { signal: "e,state,charging"; source: "e"; 121 program { signal: "e,state,charging"; source: "e";
116 action: STATE_SET "charging" 0.0; 122 action: STATE_SET "charging" 0.0;
117 target: "fill"; 123 target: "fill";
diff --git a/data/elementary/themes/snd/synth-worble-down.wav b/data/elementary/themes/snd/synth-worble-down.wav
new file mode 100644
index 0000000000..51a28d3be5
--- /dev/null
+++ b/data/elementary/themes/snd/synth-worble-down.wav
Binary files differ
diff --git a/data/elementary/themes/snd/synth-worble-up.wav b/data/elementary/themes/snd/synth-worble-up.wav
new file mode 100644
index 0000000000..f2caec56a1
--- /dev/null
+++ b/data/elementary/themes/snd/synth-worble-up.wav
Binary files differ