This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 0f6619cdb73f735a47c29268ef591ad187a0a3e4
Author: Carsten Haitzler <ras...@rasterman.com>
AuthorDate: Wed Dec 4 17:20:43 2024 +0000
theme - cpufreq - add popup group for more overlay info and looks
---
data/elementary/themes/colorclasses.edc | 7 +++
data/elementary/themes/edc/cpufreq.edc | 105 ++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/data/elementary/themes/colorclasses.edc b/data/elementary/themes/colorclasses.edc
index 6b26d8fdd7..ac037cf3de 100644
--- a/data/elementary/themes/colorclasses.edc
+++ b/data/elementary/themes/colorclasses.edc
@@ -44,6 +44,7 @@ color_tree {
"/fg/disabled/text-current";
"/fg/normal/gadgets/clock/cal/day/date/hidden";
"/fg/normal/text-status";
+ "/bg/normal/gadgets/cpufreq/popup/detail/base";
}
":bg-dark" {
"/bg-dark";
@@ -293,6 +294,12 @@ color_tree {
"/fg/normal/gadgets/clock/analog/hands/mins";
"/fg/normal/gadgets/clock/cal/day/date/today";
"/fg/normal/gadgets/cpufreq/text";
+ "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_max";
+ "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_avg";
+ "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_min";
+ "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_max";
+ "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_avg";
+ "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_min";
"/fg/pressed/gadgets/music_control/text";
"/fg/pressed/gadgets/music_control/button";
"/fg/normal/gadgets/music_control/text/title";
diff --git a/data/elementary/themes/edc/cpufreq.edc b/data/elementary/themes/edc/cpufreq.edc
index 7f64f5510a..b6a76ca36e 100644
--- a/data/elementary/themes/edc/cpufreq.edc
+++ b/data/elementary/themes/edc/cpufreq.edc
@@ -328,6 +328,111 @@ group { name: "e/modules/cpufreq/gadget";
}
}
+group { name: "e/modules/cpufreq/popup/detail";
+ // new gadget with cpu usage swallow
+ parts {
+ part { name: "bg"; type: RECT;
+ description { state: "default" 0.0;
+ color_class: "/bg/normal/gadgets/cpufreq/popup/detail/base";
+ }
+ }
+ part { name: "e.swallow.content"; type: SWALLOW;
+ description { state: "default" 0.0;
+ }
+ }
+ part { name: "e.text.cpu.usage.max"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 0.0 0.0;
+ align: 0.0 0.0;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_max";
+ text { font: FN; size: 10;
+ align: 0.0 0.0;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ part { name: "e.text.cpu.usage.avg"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.25;
+ rel2.relative: 0.0 0.25;
+ align: 0.0 0.5;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_avg";
+ text { font: FN; size: 10;
+ align: 0.0 0.5;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ part { name: "e.text.cpu.usage.min"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 0.0 0.5;
+ align: 0.0 1.0;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/usage/text_min";
+ text { font: FN; size: 10;
+ align: 0.0 1.0;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ part { name: "e.text.cpu.freq.max"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.5;
+ rel2.relative: 0.0 0.5;
+ align: 0.0 0.0;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_max";
+ text { font: FN; size: 10;
+ align: 0.0 0.0;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ part { name: "e.text.cpu.freq.avg"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 0.75;
+ rel2.relative: 0.0 0.75;
+ align: 0.0 0.5;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_avg";
+ text { font: FN; size: 10;
+ align: 0.0 0.5;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ part { name: "e.text.cpu.freq.min"; type: TEXT; mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1.relative: 0.0 1.0;
+ rel2.relative: 0.0 1.0;
+ align: 0.0 1.0;
+ color_class: "/fg/normal/gadgets/cpufreq/popup/detail/freq/text_min";
+ text { font: FN; size: 10;
+ align: 0.0 1.0;
+ min: 1 1;
+ ellipsis: -1;
+ text_class: "module_normal";
+ }
+ }
+ }
+ }
+}
+
#define G(_p, _p0, _p1, _v0, _v1) \
part { name: "g"_p0".0"; type: RECT; mouse_events: 0; \
description { state: "default" 0.0; \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.