Fix resizing borders not showing in xfce desktop

This commit is contained in:
EliverLara
2019-07-23 11:05:18 -05:00
parent 88b15fd637
commit 51738754d4
17 changed files with 281 additions and 3 deletions

4
.gitignore vendored
View File

@@ -6,5 +6,9 @@ node_modules/
*.css.map
_gnome-shell/
gnome-shell/dark-and-white/
gnome-shell/dark/
gnome-shell/light/
install.sh

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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="16"
height="2"
viewBox="0 0 4.2333332 0.52916668"
version="1.1"
id="svg1698"
inkscape:version="0.92.4 (unknown)"
sodipodi:docname="bottom-active.svg">
<defs
id="defs1692" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="111.69076"
inkscape:cx="-0.082722159"
inkscape:cy="1.0276832"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1" />
<metadata
id="metadata1695">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-296.47081)">
<rect
style="opacity:1;fill:#e6e6e6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="bottom-active"
width="0.52916664"
height="4.2333331"
x="-296.99997"
y="-4.2333331"
inkscape:label="#rect4138-3"
transform="matrix(0,-1,-1,0,0,0)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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="3"
height="3"
viewBox="0 0 0.79374998 0.79375002"
version="1.1"
id="svg2283"
inkscape:version="0.92.4 (unknown)"
sodipodi:docname="bottom-left-active.svg">
<defs
id="defs2277" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="256"
inkscape:cx="0.71805096"
inkscape:cy="-0.33371172"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1" />
<metadata
id="metadata2280">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-296.20623)">
<path
inkscape:connector-curvature="0"
style="opacity:1;fill:#e6e6e6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,296.20623 v 0.52917 h 0.26458328 v 0.26458 h 0.52916667 v -0.79375 z"
id="bottom-left-active" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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="3"
height="3"
viewBox="0 0 0.79374998 0.79375002"
version="1.1"
id="svg2283"
inkscape:version="0.92.4 (unknown)"
sodipodi:docname="bottom-right-inactive.svg">
<defs
id="defs2277" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="64"
inkscape:cx="-1.4464"
inkscape:cy="1.1912315"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1" />
<metadata
id="metadata2280">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-296.20623)">
<path
inkscape:connector-curvature="0"
style="opacity:1;fill:#e6e6e6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 0,296.20623 v 0.79375 H 0.52916667 V 296.7354 H 0.79375 v -0.52917 z"
id="bottom-right-active" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
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="2"
height="16"
viewBox="0 0 0.52916665 4.2333329"
version="1.1"
id="svg1113"
inkscape:version="0.92.4 (unknown)"
sodipodi:docname="right-active.svg">
<defs
id="defs1107" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="27.922689"
inkscape:cx="-2.414439"
inkscape:cy="9.5673716"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1366"
inkscape:window-height="706"
inkscape:window-x="0"
inkscape:window-y="30"
inkscape:window-maximized="1" />
<metadata
id="metadata1110">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-292.76667)">
<rect
style="opacity:1;fill:#e6e6e6;fill-opacity:1;stroke:none;stroke-width:0.26458332;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="left-active"
width="0.52916664"
height="4.2333331"
x="-0.52916664"
y="292.76666"
inkscape:label="#rect4138-3"
transform="scale(-1,1)" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
xfwm4/bottom-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 B

1
xfwm4/bottom-inactive.png Symbolic link
View File

@@ -0,0 +1 @@
bottom-active.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

View File

@@ -0,0 +1 @@
bottom-left-active.png

View File

@@ -0,0 +1 @@
bottom-right-inactive.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 B

1
xfwm4/left-active.png Symbolic link
View File

@@ -0,0 +1 @@
right-active.png

1
xfwm4/left-inactive.png Symbolic link
View File

@@ -0,0 +1 @@
right-active.png

View File

@@ -1,4 +1,12 @@
set -l red (set_color -o red)
set -l cyan (set_color -o cyan)
for i in assets/*;
set -l file_name (basename $i .svg)
convert -background none $i ./$file_name'.png'
if test -f ./$file_name'.png'
echo $red$file_name exists
else
echo $cyan'Creating '$file_name'.png'
convert -background none $i ./$file_name'.png'
end
;end

BIN
xfwm4/right-active.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

1
xfwm4/right-inactive.png Symbolic link
View File

@@ -0,0 +1 @@
right-active.png

View File

@@ -1,6 +1,6 @@
#button_layout=O|HMC
button_offset=2
button_spacing=2
button_spacing=-1
full_width_title=true