Add shutdown icon SVG and desktop entry for shutdown application
All checks were successful
Build and push Archlinux package / build (push) Successful in 10s

This commit is contained in:
Edgar P. Burkhart 2025-05-22 22:36:57 +02:00
parent 446d64324e
commit f2ab5f39a3
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 30 additions and 0 deletions

25
icons/shutdown.svg Normal file
View file

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="256" height="256" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<linearGradient id="Gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="0%" style="stop-color:#A51D2D;stop-opacity:1" />
<stop offset="100%" style="stop-color:#FF7800;stop-opacity:1" />
</linearGradient>
<filter id="alpha-to-white">
<feColorMatrix in="SourceGraphic" type="matrix"
values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<g id="child-svg"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" height="16px" width="16px"><path d="M6.26489 3.80698L7.41191 5.44558C5.34875 6.89247 4 9.28873 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 9.28873 18.6512 6.89247 16.5881 5.44558L17.7351 3.80698C20.3141 5.61559 22 8.61091 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 8.61091 3.68594 5.61559 6.26489 3.80698ZM11 12V2H13V12H11Z" /></svg></g>
</defs>
<rect
width="256"
height="256"
fill="url(#Gradient)"
ry="128"
x="0"
y="0" />
<use xlink:href="#child-svg" filter="url(#alpha-to-white)"
transform="matrix(8,0,0,8,64,64)" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

5
src/shutdown.desktop Normal file
View file

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=Shutdown
Exec=/usr/bin/systemctl poweroff
Icon=shutdown