From ee547b56a06cb7ad573bd2f6383790b207e9098f Mon Sep 17 00:00:00 2001 From: cutefishd Date: Thu, 18 Mar 2021 10:13:42 +0800 Subject: [PATCH] New window button icon --- config/kwinrc | 3 ++ .../decoration/images/dark/close_normal.svg | 36 +++++++++++------- .../images/dark/maximize_normal.svg | 19 ++++++---- .../images/dark/minimize_normal.svg | 16 ++++---- .../decoration/images/dark/restore_normal.svg | 28 +++++++------- .../decoration/images/light/close_normal.svg | 36 +++++++++++------- .../images/light/maximize_normal.svg | 19 ++++++---- .../images/light/minimize_normal.svg | 16 ++++---- .../images/light/restore_normal.svg | 38 ++++++++++++------- 9 files changed, 124 insertions(+), 87 deletions(-) diff --git a/config/kwinrc b/config/kwinrc index 1cc76d7..a7eb622 100644 --- a/config/kwinrc +++ b/config/kwinrc @@ -43,6 +43,9 @@ ShowDesktopMode=0 ShowTabBox=true SwitchingMode=0 +[ElectricBorders] +TopLeft=None + [org.kde.kdecoration2] BorderSize=Normal ButtonsOnLeft= diff --git a/plugins/decoration/images/dark/close_normal.svg b/plugins/decoration/images/dark/close_normal.svg index 0bb6862..e5552e1 100644 --- a/plugins/decoration/images/dark/close_normal.svg +++ b/plugins/decoration/images/dark/close_normal.svg @@ -7,7 +7,7 @@ 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" - sodipodi:docname="close_normal.svg" + sodipodi:docname="close.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -19,18 +19,18 @@ - + + + + + diff --git a/plugins/decoration/images/dark/maximize_normal.svg b/plugins/decoration/images/dark/maximize_normal.svg index da4fce2..60fdc15 100644 --- a/plugins/decoration/images/dark/maximize_normal.svg +++ b/plugins/decoration/images/dark/maximize_normal.svg @@ -8,7 +8,7 @@ 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" - sodipodi:docname="maximize_normal.svg" + sodipodi:docname="maximize.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -30,9 +30,9 @@ inkscape:document-rotation="0" inkscape:pagecheckerboard="false" inkscape:window-maximized="1" - inkscape:window-y="30" + inkscape:window-y="0" inkscape:window-x="0" - inkscape:window-height="1277" + inkscape:window-height="1304" inkscape:window-width="2160" units="px" showgrid="false" @@ -86,10 +86,13 @@ x="-12.230613" y="294.87387" ry="4.4795979e-06" /> - + diff --git a/plugins/decoration/images/dark/minimize_normal.svg b/plugins/decoration/images/dark/minimize_normal.svg index 15b9119..22f463d 100644 --- a/plugins/decoration/images/dark/minimize_normal.svg +++ b/plugins/decoration/images/dark/minimize_normal.svg @@ -7,7 +7,7 @@ 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" - sodipodi:docname="minimize_normal.svg" + sodipodi:docname="minimize.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -20,17 +20,17 @@ inkscape:document-rotation="0" inkscape:pagecheckerboard="false" inkscape:window-maximized="1" - inkscape:window-y="30" + inkscape:window-y="0" inkscape:window-x="0" - inkscape:window-height="1277" + inkscape:window-height="1304" inkscape:window-width="2160" units="px" showgrid="false" inkscape:current-layer="layer1" inkscape:document-units="mm" - inkscape:cy="16.518502" - inkscape:cx="-30.012016" - inkscape:zoom="11.2" + inkscape:cy="19.593901" + inkscape:cx="3.0923684" + inkscape:zoom="31.678384" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" @@ -70,9 +70,9 @@ id="4-7" /> diff --git a/plugins/decoration/images/dark/restore_normal.svg b/plugins/decoration/images/dark/restore_normal.svg index a107b55..070d900 100644 --- a/plugins/decoration/images/dark/restore_normal.svg +++ b/plugins/decoration/images/dark/restore_normal.svg @@ -7,7 +7,7 @@ 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" - sodipodi:docname="restore_normal.svg" + sodipodi:docname="restore.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -20,17 +20,17 @@ inkscape:document-rotation="0" inkscape:pagecheckerboard="false" inkscape:window-maximized="1" - inkscape:window-y="30" + inkscape:window-y="0" inkscape:window-x="0" - inkscape:window-height="1277" + inkscape:window-height="1304" inkscape:window-width="2160" units="px" showgrid="false" inkscape:current-layer="layer1" inkscape:document-units="mm" - inkscape:cy="13.315454" - inkscape:cx="-13.839286" - inkscape:zoom="11.2" + inkscape:cy="15.002062" + inkscape:cx="10.41859" + inkscape:zoom="31.678384" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" @@ -73,18 +73,18 @@ inkscape:label="#g3842" id="4-75" /> + id="g886" + transform="translate(1.4056297,-1.99609)"> + style="fill:#CACBCE;fill-opacity:1;stroke-width:0.248679" /> + style="fill:#CACBCE;fill-opacity:1;stroke-width:0.248679" /> diff --git a/plugins/decoration/images/light/close_normal.svg b/plugins/decoration/images/light/close_normal.svg index 15be335..489f7e2 100644 --- a/plugins/decoration/images/light/close_normal.svg +++ b/plugins/decoration/images/light/close_normal.svg @@ -7,7 +7,7 @@ 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" - sodipodi:docname="close_normal.svg" + sodipodi:docname="close.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -19,18 +19,18 @@ - + + + + + diff --git a/plugins/decoration/images/light/maximize_normal.svg b/plugins/decoration/images/light/maximize_normal.svg index dc20649..a892d59 100644 --- a/plugins/decoration/images/light/maximize_normal.svg +++ b/plugins/decoration/images/light/maximize_normal.svg @@ -8,7 +8,7 @@ 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" - sodipodi:docname="maximize_normal.svg" + sodipodi:docname="maximize.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -30,9 +30,9 @@ inkscape:document-rotation="0" inkscape:pagecheckerboard="false" inkscape:window-maximized="1" - inkscape:window-y="30" + inkscape:window-y="0" inkscape:window-x="0" - inkscape:window-height="1277" + inkscape:window-height="1304" inkscape:window-width="2160" units="px" showgrid="false" @@ -86,10 +86,13 @@ x="-12.230613" y="294.87387" ry="4.4795979e-06" /> - + diff --git a/plugins/decoration/images/light/minimize_normal.svg b/plugins/decoration/images/light/minimize_normal.svg index 40d3d59..96da84d 100644 --- a/plugins/decoration/images/light/minimize_normal.svg +++ b/plugins/decoration/images/light/minimize_normal.svg @@ -7,7 +7,7 @@ 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" - sodipodi:docname="minimize_normal.svg" + sodipodi:docname="minimize.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -20,17 +20,17 @@ inkscape:document-rotation="0" inkscape:pagecheckerboard="false" inkscape:window-maximized="1" - inkscape:window-y="30" + inkscape:window-y="0" inkscape:window-x="0" - inkscape:window-height="1277" + inkscape:window-height="1304" inkscape:window-width="2160" units="px" showgrid="false" inkscape:current-layer="layer1" inkscape:document-units="mm" - inkscape:cy="16.518502" - inkscape:cx="-30.012016" - inkscape:zoom="11.2" + inkscape:cy="19.593901" + inkscape:cx="3.0923684" + inkscape:zoom="31.678384" inkscape:pageshadow="2" inkscape:pageopacity="0.0" borderopacity="1.0" @@ -70,9 +70,9 @@ id="4-7" /> diff --git a/plugins/decoration/images/light/restore_normal.svg b/plugins/decoration/images/light/restore_normal.svg index 486d913..4a087cf 100644 --- a/plugins/decoration/images/light/restore_normal.svg +++ b/plugins/decoration/images/light/restore_normal.svg @@ -8,7 +8,7 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - sodipodi:docname="restore_normal.svg" + sodipodi:docname="restore.svg" inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" id="svg8" version="1.1" @@ -233,22 +233,34 @@ y1="79" x2="248.63158" y2="58" /> + + + + id="g886" + transform="translate(1.4056297,-1.99609)">