pwr_tray 1.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pwr_tray/IniTool.py +193 -0
- pwr_tray/SwayIdleMgr.py +139 -0
- pwr_tray/Utils.py +162 -0
- pwr_tray/YamlDump.py +163 -0
- pwr_tray/__init__.py +0 -0
- pwr_tray/main.py +974 -0
- pwr_tray/resources/FullSun-v03.svg +81 -0
- pwr_tray/resources/GoingDown-v03.svg +79 -0
- pwr_tray/resources/PlayingNow-v03.svg +63 -0
- pwr_tray/resources/RisingMoon-v03.svg +75 -0
- pwr_tray/resources/SetA/pwr-inh-v03.svg +1 -0
- pwr_tray/resources/SetA/pwr-no-sleep-v03.svg +1 -0
- pwr_tray/resources/SetA/pwr-uninh-v03.svg +1 -0
- pwr_tray/resources/SetB/LoBattery-v03.svg +698 -0
- pwr_tray/resources/SetB/LockOnlyMode-v03.svg +18 -0
- pwr_tray/resources/SetB/NormMode-v03.svg +645 -0
- pwr_tray/resources/SetC/New-LockOnly-v03.svg +13 -0
- pwr_tray/resources/SetC/New-LowBattery-v03.svg +13 -0
- pwr_tray/resources/SetC/New-NormMode-v03.svg +13 -0
- pwr_tray/resources/SetC/New-PresMode-v03.svg +13 -0
- pwr_tray/resources/SettingSun-v03.svg +71 -0
- pwr_tray/resources/StopSign-v03.svg +90 -0
- pwr_tray/resources/Unlocked-v03.svg +116 -0
- pwr_tray/resources/UnlockedMoon-v03.svg +121 -0
- pwr_tray/resources/__init__.py +0 -0
- pwr_tray/resources/lockpaper.png +0 -0
- pwr_tray-1.0.2.dist-info/METADATA +169 -0
- pwr_tray-1.0.2.dist-info/RECORD +31 -0
- pwr_tray-1.0.2.dist-info/WHEEL +4 -0
- pwr_tray-1.0.2.dist-info/entry_points.txt +3 -0
- pwr_tray-1.0.2.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created using Krita: https://krita.org -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="256pt"
|
|
6
|
+
height="256pt"
|
|
7
|
+
viewBox="0 0 256.00001 256.00001"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
sodipodi:docname="FullSun-v03.svg"
|
|
11
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview1"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="true"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
inkscape:document-units="pt"
|
|
26
|
+
inkscape:clip-to-page="false"
|
|
27
|
+
inkscape:zoom="2.3986817"
|
|
28
|
+
inkscape:cx="111.51959"
|
|
29
|
+
inkscape:cy="185.10168"
|
|
30
|
+
inkscape:window-width="2540"
|
|
31
|
+
inkscape:window-height="1378"
|
|
32
|
+
inkscape:window-x="4"
|
|
33
|
+
inkscape:window-y="1126"
|
|
34
|
+
inkscape:window-maximized="1"
|
|
35
|
+
inkscape:current-layer="svg1" />
|
|
36
|
+
<defs
|
|
37
|
+
id="defs1" />
|
|
38
|
+
<path
|
|
39
|
+
id="shape01"
|
|
40
|
+
fill="none"
|
|
41
|
+
stroke-opacity="0"
|
|
42
|
+
stroke="#000000"
|
|
43
|
+
stroke-width="0"
|
|
44
|
+
stroke-linecap="square"
|
|
45
|
+
stroke-linejoin="bevel"
|
|
46
|
+
d="M 6.3676847,24.064863 247.66462,23.482019"
|
|
47
|
+
sodipodi:nodetypes="cc" />
|
|
48
|
+
<path
|
|
49
|
+
id="shape0"
|
|
50
|
+
fill="none"
|
|
51
|
+
stroke="#59932b"
|
|
52
|
+
stroke-width="18.8402"
|
|
53
|
+
stroke-linecap="square"
|
|
54
|
+
stroke-linejoin="miter"
|
|
55
|
+
stroke-miterlimit="2"
|
|
56
|
+
d="M 9.7081411,246.76546 246.22189,246.17154"
|
|
57
|
+
sodipodi:nodetypes="cc" />
|
|
58
|
+
<path
|
|
59
|
+
id="shape011"
|
|
60
|
+
fill="none"
|
|
61
|
+
stroke="#00ff00"
|
|
62
|
+
stroke-width="18.8396"
|
|
63
|
+
stroke-linecap="square"
|
|
64
|
+
stroke-linejoin="miter"
|
|
65
|
+
stroke-miterlimit="2"
|
|
66
|
+
d="M 9.7806313,228.50217 246.01729,227.90758"
|
|
67
|
+
sodipodi:nodetypes="cc" />
|
|
68
|
+
<ellipse
|
|
69
|
+
id="shape1"
|
|
70
|
+
rx="91.270523"
|
|
71
|
+
ry="91.695038"
|
|
72
|
+
cx="130.26839"
|
|
73
|
+
cy="112.55463"
|
|
74
|
+
fill="#ffff7d"
|
|
75
|
+
fill-rule="evenodd"
|
|
76
|
+
stroke="#aa6900"
|
|
77
|
+
stroke-width="12.3639"
|
|
78
|
+
stroke-linecap="square"
|
|
79
|
+
stroke-linejoin="bevel"
|
|
80
|
+
style="stroke-width:16;stroke-dasharray:none" />
|
|
81
|
+
</svg>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created using Krita: https://krita.org -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="256pt"
|
|
6
|
+
height="256pt"
|
|
7
|
+
viewBox="0 0 256.00001 256.00001"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
sodipodi:docname="GoingDown-v03.svg"
|
|
11
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview1"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="true"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
inkscape:document-units="pt"
|
|
26
|
+
showgrid="false"
|
|
27
|
+
inkscape:zoom="2.5333965"
|
|
28
|
+
inkscape:cx="176.64033"
|
|
29
|
+
inkscape:cy="192.62677"
|
|
30
|
+
inkscape:window-width="2540"
|
|
31
|
+
inkscape:window-height="1378"
|
|
32
|
+
inkscape:window-x="4"
|
|
33
|
+
inkscape:window-y="1126"
|
|
34
|
+
inkscape:window-maximized="1"
|
|
35
|
+
inkscape:current-layer="svg1" />
|
|
36
|
+
<defs
|
|
37
|
+
id="defs1" />
|
|
38
|
+
<path
|
|
39
|
+
id="shape0"
|
|
40
|
+
fill="#fb3b02"
|
|
41
|
+
fill-rule="evenodd"
|
|
42
|
+
stroke="#7f0000"
|
|
43
|
+
stroke-width="11.7661"
|
|
44
|
+
stroke-linecap="square"
|
|
45
|
+
stroke-linejoin="bevel"
|
|
46
|
+
d="M 11.816742,10.858597 128.10587,245.96068 246.20296,11.534828 11.816742,10.858597"
|
|
47
|
+
sodipodi:nodetypes="cccc"
|
|
48
|
+
style="stroke-width:15.5755;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none" />
|
|
49
|
+
<path
|
|
50
|
+
id="shape1"
|
|
51
|
+
fill="none"
|
|
52
|
+
stroke="#780422"
|
|
53
|
+
stroke-width="15.8614"
|
|
54
|
+
stroke-linecap="square"
|
|
55
|
+
stroke-linejoin="miter"
|
|
56
|
+
stroke-miterlimit="2"
|
|
57
|
+
d="M 65.515903,70.319749 H 190.42469"
|
|
58
|
+
sodipodi:nodetypes="cc" />
|
|
59
|
+
<path
|
|
60
|
+
id="shape01"
|
|
61
|
+
fill="none"
|
|
62
|
+
stroke="#780422"
|
|
63
|
+
stroke-width="15.8614"
|
|
64
|
+
stroke-linecap="square"
|
|
65
|
+
stroke-linejoin="miter"
|
|
66
|
+
stroke-miterlimit="2"
|
|
67
|
+
d="m 87.909784,116.45944 81.044006,0.10963"
|
|
68
|
+
sodipodi:nodetypes="cc" />
|
|
69
|
+
<path
|
|
70
|
+
id="shape02"
|
|
71
|
+
fill="none"
|
|
72
|
+
stroke="#780422"
|
|
73
|
+
stroke-width="15.8614"
|
|
74
|
+
stroke-linecap="square"
|
|
75
|
+
stroke-linejoin="miter"
|
|
76
|
+
stroke-miterlimit="2"
|
|
77
|
+
d="m 109.69003,161.06619 h 37.91874"
|
|
78
|
+
sodipodi:nodetypes="cc" />
|
|
79
|
+
</svg>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="256mm"
|
|
6
|
+
height="256mm"
|
|
7
|
+
viewBox="0 0 256 256"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
|
11
|
+
sodipodi:docname="PlayingNow.svg"
|
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview1"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="true"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
inkscape:document-units="mm"
|
|
26
|
+
inkscape:zoom="0.99029762"
|
|
27
|
+
inkscape:cx="396.34549"
|
|
28
|
+
inkscape:cy="574.57474"
|
|
29
|
+
inkscape:window-width="2540"
|
|
30
|
+
inkscape:window-height="1378"
|
|
31
|
+
inkscape:window-x="4"
|
|
32
|
+
inkscape:window-y="1126"
|
|
33
|
+
inkscape:window-maximized="1"
|
|
34
|
+
inkscape:current-layer="layer1" />
|
|
35
|
+
<defs
|
|
36
|
+
id="defs1" />
|
|
37
|
+
<g
|
|
38
|
+
inkscape:label="Layer 1"
|
|
39
|
+
inkscape:groupmode="layer"
|
|
40
|
+
id="layer1">
|
|
41
|
+
<path
|
|
42
|
+
style="fill:#ffdd55;fill-opacity:1;stroke:#806600;stroke-width:8.46666667;stroke-dasharray:none;stroke-opacity:1"
|
|
43
|
+
d="M 68.344024,192.4137 67.988557,10.529325 228.95196,10.898394 V 142.26834 H 200.25228 V 43.670218 H 100.19763 V 191.66073 Z"
|
|
44
|
+
id="path2"
|
|
45
|
+
sodipodi:nodetypes="ccccccccc" />
|
|
46
|
+
<ellipse
|
|
47
|
+
style="fill:#ffdd55;fill-opacity:1;stroke:#806600;stroke-width:8.46721795;stroke-dasharray:none;stroke-opacity:1"
|
|
48
|
+
id="path1"
|
|
49
|
+
cx="-14.483775"
|
|
50
|
+
cy="220.04993"
|
|
51
|
+
rx="57.568668"
|
|
52
|
+
ry="29.424416"
|
|
53
|
+
transform="matrix(0.94529241,-0.32622425,0.34143584,0.93990508,0,0)" />
|
|
54
|
+
<ellipse
|
|
55
|
+
style="fill:#ffdd55;fill-opacity:1;stroke:#806600;stroke-width:8.46721795;stroke-dasharray:none;stroke-opacity:1"
|
|
56
|
+
id="path1-2"
|
|
57
|
+
cx="127.56292"
|
|
58
|
+
cy="199.56598"
|
|
59
|
+
rx="57.568668"
|
|
60
|
+
ry="29.424416"
|
|
61
|
+
transform="matrix(0.94529241,-0.32622425,0.34143584,0.93990508,0,0)" />
|
|
62
|
+
</g>
|
|
63
|
+
</svg>
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!-- Created using Krita: https://krita.org -->
|
|
3
|
+
|
|
4
|
+
<svg
|
|
5
|
+
width="256pt"
|
|
6
|
+
height="256pt"
|
|
7
|
+
viewBox="0 0 256.00001 256.00001"
|
|
8
|
+
version="1.1"
|
|
9
|
+
id="svg1"
|
|
10
|
+
sodipodi:docname="RisingMoon-v03.svg"
|
|
11
|
+
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
|
12
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
13
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
xmlns:svg="http://www.w3.org/2000/svg">
|
|
16
|
+
<sodipodi:namedview
|
|
17
|
+
id="namedview1"
|
|
18
|
+
pagecolor="#ffffff"
|
|
19
|
+
bordercolor="#000000"
|
|
20
|
+
borderopacity="0.25"
|
|
21
|
+
inkscape:showpageshadow="2"
|
|
22
|
+
inkscape:pageopacity="0.0"
|
|
23
|
+
inkscape:pagecheckerboard="true"
|
|
24
|
+
inkscape:deskcolor="#d1d1d1"
|
|
25
|
+
inkscape:document-units="pt"
|
|
26
|
+
inkscape:zoom="2.3986817"
|
|
27
|
+
inkscape:cx="130.27989"
|
|
28
|
+
inkscape:cy="173.4286"
|
|
29
|
+
inkscape:window-width="1934"
|
|
30
|
+
inkscape:window-height="1378"
|
|
31
|
+
inkscape:window-x="610"
|
|
32
|
+
inkscape:window-y="1126"
|
|
33
|
+
inkscape:window-maximized="1"
|
|
34
|
+
inkscape:current-layer="svg1"
|
|
35
|
+
showgrid="false" />
|
|
36
|
+
<defs
|
|
37
|
+
id="defs1" />
|
|
38
|
+
<ellipse
|
|
39
|
+
id="shape0"
|
|
40
|
+
rx="86.369759"
|
|
41
|
+
ry="83.363029"
|
|
42
|
+
cx="98.602531"
|
|
43
|
+
cy="260.62524"
|
|
44
|
+
fill="#ffac68"
|
|
45
|
+
fill-rule="evenodd"
|
|
46
|
+
stroke="#ff6a00"
|
|
47
|
+
stroke-width="11.2732"
|
|
48
|
+
stroke-linecap="square"
|
|
49
|
+
stroke-linejoin="bevel"
|
|
50
|
+
style="stroke-width:16;stroke-dasharray:none;fill:#d45500;stroke:#aa4400" />
|
|
51
|
+
<path
|
|
52
|
+
id="shape1"
|
|
53
|
+
fill="none"
|
|
54
|
+
stroke="#59932b"
|
|
55
|
+
stroke-width="18.7857"
|
|
56
|
+
stroke-linecap="square"
|
|
57
|
+
stroke-linejoin="miter"
|
|
58
|
+
stroke-miterlimit="2"
|
|
59
|
+
d="M 9.8375884,247.65727 246.97918,246.72197"
|
|
60
|
+
sodipodi:nodetypes="cc" />
|
|
61
|
+
<path
|
|
62
|
+
id="shape01"
|
|
63
|
+
fill="none"
|
|
64
|
+
stroke="#00ff00"
|
|
65
|
+
stroke-width="18.7803"
|
|
66
|
+
stroke-linecap="square"
|
|
67
|
+
stroke-linejoin="miter"
|
|
68
|
+
stroke-miterlimit="2"
|
|
69
|
+
d="M 9.3531264,228.57426 246.18666,227.9849"
|
|
70
|
+
sodipodi:nodetypes="cc" />
|
|
71
|
+
<path
|
|
72
|
+
id="path1"
|
|
73
|
+
style="fill:#ff0000;stroke:#800000;stroke-width:13.6998;stroke-dasharray:none"
|
|
74
|
+
d="m 151.25026,11.531556 a 90.83362,85.920774 0 0 0 -90.834245,85.920151 90.83362,85.920774 0 0 0 0.17797,2.34946 72.607657,68.680584 0 0 1 59.700285,-29.80502 72.607657,68.680584 0 0 1 72.60808,68.680993 72.607657,68.680584 0 0 1 -14.25415,40.57767 90.83362,85.920774 0 0 0 63.43502,-81.803103 90.83362,85.920774 0 0 0 -90.83296,-85.920151 z" />
|
|
75
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256px" height="256px" viewBox="0 0 256 256" preserveAspectRatio="xMidYMid meet" ><rect id="svgEditorBackground" x="0" y="0" width="256" height="256" style="fill: blue; stroke: none;"/><text style="fill:yellow;font-family:Arial;font-size:240px;" x="14" y="209" id="e3_texte">PI</text></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256px" height="256px" viewBox="0 0 256 256" preserveAspectRatio="xMidYMid meet" ><rect id="svgEditorBackground" x="0" y="0" width="256" height="256" style="fill: silver; stroke: none;"/><text style="fill:black;font-family:Arial;font-size:200px;" x="14" y="180" id="e3_texte">nS</text></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="256px" height="256px" viewBox="0 0 256 256" preserveAspectRatio="xMidYMid meet" ><rect id="svgEditorBackground" x="0" y="0" width="256" height="256" style="fill: silver; stroke: none;"/><text style="fill:dimgray;font-family:Arial;font-size:256px;" x="32" y="189" id="e3_texte">pi</text></svg>
|