Add icons
8
justfile
|
|
@ -15,6 +15,9 @@ desktop := APPID + '.desktop'
|
|||
desktop-src := 'res' / desktop
|
||||
desktop-dst := clean(rootdir / prefix) / 'share' / 'applications' / desktop
|
||||
|
||||
icons-src := 'res' / 'icons' / 'hicolor'
|
||||
icons-dst := clean(rootdir / prefix) / 'share' / 'icons' / 'hicolor'
|
||||
|
||||
# Default recipe which runs `just build-release`
|
||||
default: build-release
|
||||
|
||||
|
|
@ -57,7 +60,10 @@ run *args:
|
|||
# Installs files
|
||||
install:
|
||||
install -Dm0755 {{bin-src}} {{bin-dst}}
|
||||
install -Dm0755 {{desktop-src}} {{desktop-dst}}
|
||||
install -Dm0644 {{desktop-src}} {{desktop-dst}}
|
||||
for size in `ls {{icons-src}}`; do \
|
||||
install -Dm0644 "{{icons-src}}/$size/apps/{{APPID}}.svg" "{{icons-dst}}/$size/apps/{{APPID}}.svg"; \
|
||||
done
|
||||
|
||||
# Uninstalls installed files
|
||||
uninstall:
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ Exec=cosmic-term
|
|||
Terminal=false
|
||||
Type=Application
|
||||
StartupNotify=true
|
||||
Icon=utilities-terminal
|
||||
Icon=com.system76.CosmicTerm
|
||||
Categories=COSMIC;System;TerminalEmulator;
|
||||
Keywords=Command;Shell;Terminal;
|
||||
|
|
|
|||
16
res/icons/hicolor/128x128/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="128" height="128" viewBox="0 0 128 128" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="4" y="20" width="120" height="88" rx="8" fill="url(#paint0_linear_2056_1671)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 20C7.58172 20 4 23.5817 4 28V100C4 104.418 7.58172 108 12 108H116C120.418 108 124 104.418 124 100V28C124 23.5817 120.418 20 116 20H12ZM12 24C9.79086 24 8 25.7909 8 28V100C8 102.209 9.79086 104 12 104H116C118.209 104 120 102.209 120 100V28C120 25.7909 118.209 24 116 24H12Z" fill="url(#paint1_linear_2056_1671)"/>
|
||||
<rect x="34" y="61" width="22" height="5" rx="2.5" fill="#FFAD00"/>
|
||||
<path d="M24.487 36.8379C30.1547 42.3686 39 51 39 51C39 51 30.3318 59.4586 24.487 65.1621C23.5799 66.0472 22.2193 66.4897 20.8587 65.1621C19.4981 63.8344 19.9516 62.5067 20.8587 61.6215C25.2866 57.3007 31.7435 51 31.7435 51C31.7435 51 25.1095 44.5264 20.8587 40.3785C19.9516 39.4933 19.4981 38.1656 20.8587 36.8379C22.2193 35.5103 23.5799 35.9528 24.487 36.8379Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1671" x1="124" y1="20" x2="3.05838" y2="106.686" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1671" x1="124" y1="20" x2="3.05838" y2="106.686" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
16
res/icons/hicolor/16x16/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="1" y="3" width="14" height="10" rx="1.5" fill="url(#paint0_linear_2056_1666)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.5 3C1.67157 3 1 3.67157 1 4.5V11.5C1 12.3284 1.67157 13 2.5 13H13.5C14.3284 13 15 12.3284 15 11.5V4.5C15 3.67157 14.3284 3 13.5 3H2.5ZM3 4C2.44772 4 2 4.44772 2 5V11C2 11.5523 2.44772 12 3 12H13C13.5523 12 14 11.5523 14 11V5C14 4.44772 13.5523 4 13 4H3Z" fill="url(#paint1_linear_2056_1666)"/>
|
||||
<rect x="7" y="10" width="4" height="1" rx="0.5" fill="#FFAD00"/>
|
||||
<path d="M4.94463 5.16759C6.13782 6.27371 8 8 8 8C8 8 6.17511 9.69172 4.94463 10.8324C4.75366 11.0094 4.46722 11.0979 4.18078 10.8324C3.89434 10.5669 3.98982 10.3013 4.18078 10.1243C5.11297 9.26015 6.47231 8 6.47231 8C6.47231 8 5.07568 6.70529 4.18078 5.87569C3.98982 5.69867 3.89434 5.43313 4.18078 5.16759C4.46722 4.90205 4.75366 4.99056 4.94463 5.16759Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1666" x1="15" y1="3" x2="1.14429" y2="13.1961" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1666" x1="29" y1="3" x2="0.780292" y2="23.2268" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
16
res/icons/hicolor/24x24/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2" y="4" width="20" height="16" rx="2.25" fill="url(#paint0_linear_2056_1667)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.25 4C3.00736 4 2 5.00736 2 6.25V17.75C2 18.9926 3.00736 20 4.25 20H19.75C20.9926 20 22 18.9926 22 17.75V6.25C22 5.00736 20.9926 4 19.75 4H4.25ZM4.75 5C3.7835 5 3 5.7835 3 6.75V17.25C3 18.2165 3.7835 19 4.75 19H19.25C20.2165 19 21 18.2165 21 17.25V6.75C21 5.7835 20.2165 5 19.25 5H4.75Z" fill="url(#paint1_linear_2056_1667)"/>
|
||||
<rect x="11" y="15" width="7" height="2" rx="1" fill="#FFAD00"/>
|
||||
<path d="M7.65309 7.27932C9.74119 9.12286 13 12 13 12C13 12 9.80644 14.8195 7.65309 16.7207C7.31891 17.0157 6.81764 17.1632 6.31637 16.7207C5.8151 16.2781 5.98219 15.8356 6.31637 15.5405C7.94769 14.1002 10.3265 12 10.3265 12C10.3265 12 7.88244 9.84214 6.31637 8.45949C5.98219 8.16444 5.8151 7.72188 6.31637 7.27932C6.81764 6.83675 7.31891 6.98427 7.65309 7.27932Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1667" x1="22" y1="4" x2="0.687776" y2="18.0028" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1667" x1="30" y1="4" x2="1.78029" y2="24.2268" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
26
res/icons/hicolor/256x256/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<svg width="256" height="256" viewBox="0 0 256 256" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect width="256" height="256" fill="#D3D3D3"/>
|
||||
<g id="App Icons">
|
||||
<path d="M-1225 -527C-1225 -531.418 -1221.42 -535 -1217 -535H1065C1069.42 -535 1073 -531.418 1073 -527V674C1073 678.418 1069.42 682 1065 682H-1217C-1221.42 682 -1225 678.418 -1225 674V-527Z" fill="#D7D7D7"/>
|
||||
<path d="M-1217 -534H1065V-536H-1217V-534ZM1072 -527V674H1074V-527H1072ZM1065 681H-1217V683H1065V681ZM-1224 674V-527H-1226V674H-1224ZM-1217 681C-1220.87 681 -1224 677.866 -1224 674H-1226C-1226 678.971 -1221.97 683 -1217 683V681ZM1072 674C1072 677.866 1068.87 681 1065 681V683C1069.97 683 1074 678.971 1074 674H1072ZM1065 -534C1068.87 -534 1072 -530.866 1072 -527H1074C1074 -531.971 1069.97 -536 1065 -536V-534ZM-1217 -536C-1221.97 -536 -1226 -531.971 -1226 -527H-1224C-1224 -530.866 -1220.87 -534 -1217 -534V-536Z" fill="black" fill-opacity="0.1"/>
|
||||
<g id="cosmic-terminal">
|
||||
<rect x="-427.5" y="-19.5" width="703" height="295" rx="4.5" stroke="#9747FF" stroke-dasharray="10 5"/>
|
||||
<g id="Size=256">
|
||||
<rect id="Rectangle 418" x="8" y="40" width="240" height="176" rx="16" fill="url(#paint0_linear_470_3802)"/>
|
||||
<path id="Subtract" fill-rule="evenodd" clip-rule="evenodd" d="M24 40C15.1634 40 8 47.1634 8 56V200C8 208.837 15.1634 216 24 216H232C240.837 216 248 208.837 248 200V56C248 47.1634 240.837 40 232 40H24ZM24 48C19.5817 48 16 51.5817 16 56V200C16 204.418 19.5817 208 24 208H232C236.418 208 240 204.418 240 200V56C240 51.5817 236.418 48 232 48H24Z" fill="url(#paint1_linear_470_3802)"/>
|
||||
<rect id="Rectangle 493" x="62" y="112" width="36" height="8" rx="4" fill="#FFAD00"/>
|
||||
<path id="Rectangle 494" d="M47.0847 73.3407C56.0337 82.1897 70 96 70 96C70 96 56.3133 109.534 47.0847 118.659C45.6525 120.075 43.5042 120.784 41.3559 118.659C39.2076 116.535 39.9237 114.411 41.3559 112.994C48.3473 106.081 58.5423 96 58.5423 96C58.5423 96 48.0676 85.6423 41.3559 79.0055C39.9237 77.5893 39.2076 75.465 41.3559 73.3407C43.5042 71.2164 45.6525 71.9245 47.0847 73.3407Z" fill="#FFAD00"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_470_3802" x1="248" y1="40" x2="6.11676" y2="213.373" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_470_3802" x1="248" y1="40" x2="6.11676" y2="213.373" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
16
res/icons/hicolor/32x32/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2" y="6" width="28" height="20" rx="3" fill="url(#paint0_linear_2056_1668)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5 6C3.34315 6 2 7.34315 2 9V23C2 24.6569 3.34315 26 5 26H27C28.6569 26 30 24.6569 30 23V9C30 7.34315 28.6569 6 27 6H5ZM5 7C3.89543 7 3 7.89543 3 9V23C3 24.1046 3.89543 25 5 25H27C28.1046 25 29 24.1046 29 23V9C29 7.89543 28.1046 7 27 7H5Z" fill="url(#paint1_linear_2056_1668)"/>
|
||||
<rect x="10" y="17" width="7" height="2" rx="1" fill="#FFAD00"/>
|
||||
<path d="M6.65309 9.27932C8.74119 11.1229 12 14 12 14C12 14 8.80644 16.8195 6.65309 18.7207C6.31891 19.0157 5.81764 19.1632 5.31637 18.7207C4.8151 18.2781 4.98219 17.8356 5.31637 17.5405C6.94769 16.1002 9.32655 14 9.32655 14C9.32655 14 6.88244 11.8421 5.31637 10.4595C4.98219 10.1644 4.8151 9.72188 5.31637 9.27932C5.81764 8.83675 6.31891 8.98427 6.65309 9.27932Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1668" x1="30" y1="6" x2="2.28857" y2="26.3921" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1668" x1="30" y1="6" x2="1.78029" y2="26.2268" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
16
res/icons/hicolor/48x48/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2" y="8" width="44" height="32" rx="3.5" fill="url(#paint0_linear_2056_1669)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.5 8C3.567 8 2 9.567 2 11.5V36.5C2 38.433 3.567 40 5.5 40H42.5C44.433 40 46 38.433 46 36.5V11.5C46 9.567 44.433 8 42.5 8H5.5ZM5.75 10C4.7835 10 4 10.7835 4 11.75V36.25C4 37.2165 4.7835 38 5.75 38H42.25C43.2165 38 44 37.2165 44 36.25V11.75C44 10.7835 43.2165 10 42.25 10H5.75Z" fill="url(#paint1_linear_2056_1669)"/>
|
||||
<rect x="16" y="26" width="9" height="2" rx="1" fill="#FFAD00"/>
|
||||
<path d="M10.3616 14.391C13.3446 16.972 18 21 18 21C18 21 13.4378 24.9473 10.3616 27.609C9.88416 28.022 9.16806 28.2285 8.45195 27.609C7.73585 26.9894 7.97455 26.3698 8.45195 25.9567C10.7824 23.9403 14.1808 21 14.1808 21C14.1808 21 10.6892 17.979 8.45195 16.0433C7.97455 15.6302 7.73585 15.0106 8.45195 14.391C9.16806 13.7715 9.88416 13.978 10.3616 14.391Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1669" x1="46" y1="8" x2="1.9052" y2="39.8688" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1669" x1="46" y1="8" x2="1.65474" y2="39.785" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
16
res/icons/hicolor/64x64/apps/com.system76.CosmicTerm.svg
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="2" y="10" width="60" height="44" rx="4" fill="url(#paint0_linear_2056_1670)"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6 10C3.79086 10 2 11.7909 2 14V50C2 52.2091 3.79086 54 6 54H58C60.2091 54 62 52.2091 62 50V14C62 11.7909 60.2091 10 58 10H6ZM6 12C4.89543 12 4 12.8954 4 14V50C4 51.1046 4.89543 52 6 52H58C59.1046 52 60 51.1046 60 50V14C60 12.8954 59.1046 12 58 12H6Z" fill="url(#paint1_linear_2056_1670)"/>
|
||||
<rect x="19" y="33" width="13" height="3" rx="1.5" fill="#FFAD00"/>
|
||||
<path d="M12.8339 18.5028C16.4135 21.8211 22 27 22 27C22 27 16.5253 32.0752 12.8339 35.4972C12.261 36.0283 11.4017 36.2938 10.5423 35.4972C9.68302 34.7006 9.96946 33.904 10.5423 33.3729C13.3389 30.7804 17.4169 27 17.4169 27C17.4169 27 13.227 23.1159 10.5423 20.6271C9.96946 20.096 9.68302 19.2994 10.5423 18.5028C11.4017 17.7062 12.261 17.9717 12.8339 18.5028Z" fill="#FFAD00"/>
|
||||
<defs>
|
||||
<linearGradient id="paint0_linear_2056_1670" x1="62" y1="10" x2="1.52919" y2="53.3431" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#243C5F"/>
|
||||
<stop offset="1" stop-color="#102A4C"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="paint1_linear_2056_1670" x1="62" y1="10" x2="1.52919" y2="53.3431" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#BEBEBE"/>
|
||||
<stop offset="1" stop-color="#9E9E9E"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |