Commit 40f4c047 authored by phob1an's avatar phob1an 🎧
Browse files

sync

parent 421e9b94
[General]
ActiveTextColor=255,255,255,255
InactiveTextColor=45,45,45,205
InactiveTextColor=45,45,45,190
TitleAlignment=Center
TitleVerticalAlignment=Center
Animation=0
......
......@@ -221,7 +221,7 @@
id="layer1"
transform="translate(-11.42856,-859.091)">
<rect
style="opacity:1;fill:#f7f1f2;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:1;fill:#f1f7f7;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="decoration-center"
width="128"
height="128"
......@@ -236,7 +236,7 @@
height="128"
width="5"
id="b03"
style="opacity:1;fill:#f7f1f2;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="opacity:1;fill:#f1f7f7;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:url(#linearGradient927);fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect925"
......@@ -245,7 +245,7 @@
x="194.42854"
y="943.9483" />
<rect
style="opacity:0.8;fill:#d1606a;fill-opacity:1;stroke:none;stroke-width:3.5777092;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:0.8;fill:#78b9b5;fill-opacity:1;stroke:none;stroke-width:3.5777092;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="XX3"
width="1"
height="128"
......@@ -253,7 +253,7 @@
y="943.9483" />
</g>
<rect
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5"
id="decoration-maximized-center"
width="127.99999"
height="31.999998"
......@@ -265,12 +265,12 @@
height="31.999998"
width="127.99999"
id="decoration-maximized-inactive-center"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f7f1f2" />
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f1f7f7" />
<g
id="decoration-top"
transform="translate(-5.7142928,63.928709)">
<rect
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5"
id="b01"
width="127.99999"
height="31.999998"
......@@ -295,7 +295,7 @@
id="rect921"
style="opacity:1;fill:url(#radialGradient995);fill-opacity:1.0;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:6.40003729;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f7f1f2"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:6.40003729;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f1f7f7"
id="rect923"
width="4.0000119"
height="4.0000334"
......@@ -305,10 +305,10 @@
inkscape:connector-curvature="0"
id="path925"
d="m 198.35307,1069.2681 v 4 h -4 v 1 h 5 v -5 z"
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a" />
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5" />
</g>
<rect
style="opacity:1;fill:#f7f1f2;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:1;fill:#f1f7f7;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="decoration-inactive-center"
width="128"
height="128"
......@@ -323,9 +323,9 @@
height="128"
width="4"
id="rect931"
style="opacity:1;fill:#f7f1f2;fill-opacity:1;stroke:none;stroke-width:7.1554184;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="opacity:1;fill:#f1f7f7;fill-opacity:1;stroke:none;stroke-width:7.1554184;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a"
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5"
id="rect933"
width="1"
height="128"
......@@ -351,7 +351,7 @@
x="201.92856"
y="-827.80542" />
<rect
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:7.04273081;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f7f1f2"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:7.04273081;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f1f7f7"
id="rect949"
width="4.0000014"
height="31"
......@@ -363,7 +363,7 @@
height="31.999985"
width="1"
id="rect951"
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a" />
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5" />
<rect
y="827.80542"
x="206.92856"
......@@ -377,20 +377,20 @@
height="0.99999982"
width="4"
id="rect955"
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a" />
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5" />
</g>
<g
id="decoration-inactive-top"
transform="translate(238.28571,63.928709)">
<rect
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:7.87400913;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f7f1f2"
style="opacity:1;fill-opacity:1;stroke:none;stroke-width:7.87400913;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#f1f7f7"
id="rect987"
width="128"
height="31"
x="67.142853"
y="849.01959" />
<rect
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#d1606a"
style="opacity:0.1;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill:#78b9b5"
id="rect989"
width="127.99999"
height="0.99999994"
......@@ -490,7 +490,7 @@
x="201.42856"
y="-909.94836" />
<rect
style="opacity:1;fill:#d1606a;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:1;fill:#78b9b5;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="b02"
width="5"
height="31.999985"
......@@ -523,7 +523,7 @@
id="rect2306"
style="opacity:1;fill:url(#radialGradient2314);fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<rect
style="opacity:1;fill:#f7f1f2;fill-opacity:1;stroke:none;stroke-width:8.00004864;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:1;fill:#f1f7f7;fill-opacity:1;stroke:none;stroke-width:8.00004864;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="XX5"
width="5.0000014"
height="5.0000577"
......@@ -534,7 +534,7 @@
id="XX6"
transform="translate(11.42856,859.091)"
d="m 187,218.85742 v 4 h -4 v 1 h 5 v -5 z"
style="opacity:0.9;fill:#d1606a;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="opacity:0.9;fill:#78b9b5;fill-opacity:1;stroke:none;stroke-width:8.00000095;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<use
x="0"
......
......@@ -9,15 +9,23 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="44"
width="79"
height="132"
viewBox="0 0 44 132"
viewBox="0 0 79 132"
version="1.1"
id="svg2031"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
sodipodi:docname="maximize.svg">
<defs
id="defs2025" />
id="defs2025">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 66 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="44 : 66 : 1"
inkscape:persp3d-origin="22 : 44 : 1"
id="perspective849" />
</defs>
<style
id="current-color-scheme"
type="text/css">
......@@ -51,12 +59,12 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
inkscape:cx="8.6999809"
inkscape:cy="93.687336"
inkscape:zoom="2.828427"
inkscape:cx="-51.339357"
inkscape:cy="45.741262"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
showgrid="false"
units="px"
inkscape:pagecheckerboard="true"
inkscape:showpageshadow="false"
......@@ -83,7 +91,7 @@
type="xygrid"
id="grid829"
originx="15"
originy="2.9531249e-07" />
originy="-2.9566407e-06" />
</sodipodi:namedview>
<metadata
id="metadata2028">
......@@ -155,7 +163,7 @@
style="opacity:0.8;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 0.459674,292.22094 v 3 7.99998 3 h 2.9999999 8.0000001 3 v -3 -10.99998 H 3.4596739 Z m 2.9999999,3 h 8.0000001 v 7.99998 H 3.4596739 Z"
id="path1480"
class="ColorScheme-ViewBackground"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
</g>
<g
......@@ -170,10 +178,10 @@
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.25250676;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
class="ColorScheme-ViewBackground"
class="ColorScheme-Text"
id="path1488"
d="m 0.459674,292.22095 v 3 7.99997 3 h 3 8 3 v -3 -10.99997 h -11 z m 3,3 h 8 v 7.99997 h -8 z"
style="opacity:0.33000004;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
id="deactivated-center"
......@@ -192,5 +200,41 @@
class="ColorScheme-ViewBackground"
inkscape:connector-curvature="0" />
</g>
<g
id="hover-inactive-center"
transform="translate(33.202083,32.36674)">
<rect
style="opacity:0.1;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.25250676;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect893"
width="34"
height="24"
x="-9.5403261"
y="287.22092"
class="ColorScheme-Text" />
<path
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 0.459674,292.22095 v 3 7.99997 3 h 3 8 3 v -3 -10.99997 h -11 z m 3,3 h 8 v 7.99997 h -8 z"
id="path895"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
</g>
<g
transform="translate(33.202083,57.366743)"
id="pressed-inactive-center">
<rect
class="ColorScheme-Text"
y="287.22092"
x="-9.5403261"
height="24"
width="34"
id="rect899"
style="opacity:0.2;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.25250676;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
class="ColorScheme-Text"
id="path901"
d="m 0.459674,292.22095 v 3 7.99997 3 h 3 8 3 v -3 -10.99997 h -11 z m 3,3 h 8 v 7.99997 h -8 z"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>
......@@ -9,9 +9,9 @@
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="44"
width="79"
height="132"
viewBox="0 0 44 132"
viewBox="0 0 79 132"
version="1.1"
id="svg2750"
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)"
......@@ -51,9 +51,9 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.9756701"
inkscape:cx="-20.188667"
inkscape:cy="59.728373"
inkscape:zoom="5.6224464"
inkscape:cx="-7.5128266"
inkscape:cy="84.611191"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
......@@ -80,7 +80,7 @@
type="xygrid"
id="grid832"
originx="30"
originy="-20" />
originy="-19.999996" />
</sodipodi:namedview>
<metadata
id="metadata2747">
......@@ -159,7 +159,7 @@
id="rect834"
style="opacity:0.8;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="rotate(90)"
class="ColorScheme-ViewBackground" />
class="ColorScheme-Text" />
</g>
<g
transform="translate(-9.9187506,21.627056)"
......@@ -174,7 +174,7 @@
<rect
class="ColorScheme-Text"
transform="rotate(90)"
style="opacity:0.33000004;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect840"
width="3"
height="14"
......@@ -201,5 +201,47 @@
transform="rotate(90)"
class="ColorScheme-Text" />
</g>
<g
id="hover-inactive-center"
transform="translate(25.081249,21.627056)">
<rect
style="opacity:0.1;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24175683;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect829"
width="34"
height="22"
x="-30.980373"
y="268.35718"
class="ColorScheme-Text" />
<rect
y="6.9803734"
x="283.35718"
height="14"
width="3"
id="rect831"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="rotate(90)"
class="ColorScheme-Text" />
</g>
<g
transform="translate(25.081249,44.627052)"
id="pressed-inactive-center">
<rect
class="ColorScheme-Text"
y="268.35718"
x="-30.980373"
height="22"
width="34"
id="rect835"
style="opacity:0.2;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24175683;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
class="ColorScheme-Text"
transform="rotate(90)"
style="opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect837"
width="3"
height="14"
x="283.35718"
y="6.9803734" />
</g>
</g>
</svg>
......@@ -52,8 +52,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="16.019593"
inkscape:cx="18.551521"
inkscape:cy="90.194378"
inkscape:cx="37.775515"
inkscape:cy="80.670864"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
......@@ -111,7 +111,7 @@
style="color:currentColor;opacity:1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -23.791197,291.77438 v 2.35741 0.64259 h -0.642578 -2.357428 v 2.35741 6.28518 2.35741 h 2.357428 6.28517 2.357424 v -2.35741 -0.6426 h 0.642581 2.357424 v -2.35741 -8.64258 h -8.642593 z m 2.000005,1.99998 h 7.000015 v 7.00004 h -1.000004 v -6.00002 h -6.000011 z m -3.000006,3 h 0.002 0.998001 2.000005 4.00001 v 4.00004 1.99997 1.00003 h -6.998062 -0.002 z"
id="path845"
class="ColorScheme-Highlight"
class="ColorScheme-ViewBackground"
inkscape:connector-curvature="0" />
</g>
<g
......@@ -129,7 +129,7 @@
class="ColorScheme-Text"
id="path834"
d="m -23.791176,291.77441 v 2.3574 0.6426 h -0.642576 -2.357424 v 2.3574 6.28516 2.35741 h 2.357424 6.285157 2.357419 v -2.35741 -0.64259 h 0.642581 2.357419 v -2.35741 -8.64256 h -8.642577 z m 2.000001,1.99997 h 7.000002 v 7.00002 h -1.000003 v -5.99999 h -5.999999 z m -3,3 h 0.002 0.997999 2.000001 4.000002 v 4.00002 1.99998 1.00002 h -6.998048 -0.002 z"
style="color:currentColor;opacity:0.33000004;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
style="color:currentColor;opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<g
transform="translate(2.2520828,50.237561)"
......@@ -141,10 +141,10 @@
width="34"
id="rect838"
style="opacity:0.1;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24175681;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
class="ColorScheme-Text" />
class="ColorScheme-ViewBackground" />
<path
inkscape:connector-curvature="0"
class="ColorScheme-Highlight"
class="ColorScheme-ViewBackground"
id="path840"
d="m -23.791176,291.7744 v 2.35741 0.64259 h -0.642576 -2.357424 v 2.35741 6.28516 2.35741 h 2.357424 6.285153 2.357424 v -2.35741 -0.64259 h 0.642576 2.357423 v -2.35741 -8.64257 h -8.642576 z m 2.000001,1.99998 h 6.999998 v 7.00002 h -0.999998 v -6 h -6 z m -3,3 h 0.002 0.997999 2.000001 3.999999 v 4.00002 1.99998 1.00002 h -6.998045 -0.002 z"
style="color:currentColor;opacity:1;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
......@@ -153,7 +153,7 @@
id="pressed-center"
transform="translate(2.2520828,75.237561)">
<rect
class="ColorScheme-Text"
class="ColorScheme-ViewBackground"
style="opacity:0.2;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24175681;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect844"
width="34"
......@@ -167,5 +167,23 @@
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
</g>
<g
id="hover-inactive-center"
transform="translate(37.252083,0.23756121)">
<rect
style="opacity:0.2;fill:currentColor;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.24175681;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect826"
width="34"
height="22"
x="-36.791176"
y="287.77438"
class="ColorScheme-Text" />
<path
style="color:currentColor;opacity:0.6;fill:currentColor;fill-opacity:1;stroke:none;stroke-width:2.11666679;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m -23.791176,291.77441 v 2.3574 0.6426 h -0.642576 -2.357424 v 2.3574 6.28516 2.35741 h 2.357424 6.285157 2.357419 v -2.35741 -0.64259 h 0.642581 2.357419 v -2.35741 -8.64256 h -8.642577 z m 2.000001,1.99997 h 7.000002 v 7.00002 h -1.000003 v -5.99999 h -5.999999 z m -3,3 h 0.002 0.997999 2.000001 4.000002 v 4.00002 1.99998 1.00002 h -6.998048 -0.002 z"
id="path828"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
</g>
</g>
</svg>
#!/usr/bin/python3
"""Tincture generates a desktop theme based on the current wallpaper"""
import sys
import os
import subprocess
import time
import colorsys
from PIL import Image
import fast_colorthief
NUM_COLORS = 10
# Template for colorscheme
plasma_colors = """[Colors:Window]
ForegroundNormal=#cc
BackgroundNormal=#aa
ForegroundNegative=255,40,40
ForegroundInactive=#ee
[Colors:Selection]
BackgroundNormal=#ee
ForegroundNormal=255,255,255
[Colors:Complementary]
BackgroundNormal=#kk
ForegroundNormal=#ll
DecorationFocus=255,255,0
ForegroundLink=255,0,255
ForegroundVisited=255,255,0
[Colors:Button]
ForegroundNormal=#cc
BackgroundNormal=#aa
DecorationFocus=#jj
DecorationHover=#ii
ForegroundNegative=0,255,255
[Colors:View]
ForegroundNormal=#dd
BackgroundNormal=#bb
DecorationHover=#gg
DecorationFocus=#ff
[Colors:Tooltip]
BackgroundNormal=#bb
ForegroundNormal=#dd
[Colors:Header]
ForegroundNormal=#cc
BackgroundNormal=#hh
DecorationHover=#ee
[Colors:Header][Inactive]
ForegroundNormal=#cc
BackgroundNormal=#hh
ForegroundActive=0,255,0
[ColorEffects:Inactive]
ChangeSelectionColor=false
Color=#ee
ColorAmount=0
ColorEffect=0
ContrastAmount=0.25
ContrastEffect=1
Enable=true
IntensityAmount=0
IntensityEffect=0
[General]
Name=Tincture
shadeSortColumn=true"""
# Template for window decoration config
auroraerc = """[General]
ActiveTextColor=#aa,255
InactiveTextColor=#bb,205
TitleAlignment=Center
TitleVerticalAlignment=Center
Animation=0
Shadow=false
[Layout]
TitleHeight=32
TitleEdgeBottom=0
TitleEdgeTop=0
TitleEdgeLeft=5
TitleEdgeRight=5
#TitleBorderLeft=7
ButtonMarginTop=4
BorderRight=5
PaddingRight=15
BorderLeft=5
PaddingLeft=15
BorderBottom=5
PaddingBottom=15
PaddingTop=15
ButtonHeight=24
ButtonWidth=34
ButtonSpacing=0
TitleEdgeBottomMaximized=2
TitleEdgeRightMaximized=8
TitleEdgeLeftMaximized=8
ButtonWidthMenu=24
"""
def rgb_to_hex(rgb):
return '%02x%02x%02x' % rgb
def notify_user(message):
""" Simple notification to show something's happening """
icon_path = os.path.expanduser('~/.local/share/icons/hicolor/scalable/apps/tincture.svg')
icon = '--icon={}'.format(icon_path)
try:
subprocess.run(['notify-send',
icon,
'--expire-time=3500',
message])
except:
pass
def color_triplet(h, l, s):
"""Return color triplet to use in colorschemes"""
r, g, b = colorsys.hls_to_rgb(h, l, s)
if r > 1.0:
r = 1.0
r = int(r * 255)
if g > 1.0:
g = 1.0
g = int(g * 255)
if b > 1.0:
r = 1.0
b = int(b * 255)
return ','.join([str(r), str(g), str(b)])
def aurorae(rgb256, rgb256_hi, rgb256_inact, border):
"""Open decoration template, substitue our colour
then write decoration.svg"""
try:
with open(os.path.expanduser \
('~/.local/share/aurorae/themes/Tincture/decoration-template.svg')) \
as f:
auroraetemplate = f.read()
except IOError:
sys.exit("Unable to find Aurorae template.")
r = rgb256[0]
g = rgb256[1]
b = rgb256[2]
hex_colour = f'{int(r):02x}{int(g):02x}{int(b):02x}'
r = rgb256_hi[0]
g = rgb256_hi[1]
b = rgb256_hi[2]
hex_colour_hi = f'{int(r):02x}{int(g):02x}{int(b):02x}'
r = rgb256_inact[0]
g = rgb256_inact[1]
b = rgb256_inact[2]
hex_colour_inact = f'{int(r):02x}{int(g):02x}{int(b):02x}'
r = border[0]
g = border[1]
b = border[2]
hex_border = f'{int(r):02x}{int(g):02x}{int(b):02x}'
auroraetemplate = auroraetemplate.replace('TEMPLAT', hex_colour)
auroraetemplate = auroraetemplate.replace('HIPLAT', hex_colour_hi)
#auroraetemplate = auroraetemplate.replace('INPLAT', hex_colour_inact)
#auroraetemplate = auroraetemplate.replace('BORD', hex_border)
try:
with open(os.path.expanduser \
('~/.local/share/aurorae/themes/Tincture/Tincturerc'), 'w') as f:
f.write(auroraerc)
except IOError:
sys.exit("Fatal. Unable to write aurorae decoration.")
try:
with open(os.path.expanduser \
('~/.local/share/aurorae/themes/Tincture/decoration.svg'), 'w') as f:
f.write(auroraetemplate)
except IOError:
sys.exit("Fatal. Unable to write aurorae decoration.")