Add PowerShell icon for launcher

https://docs.microsoft.com/de-de/powershell/media/index/ps_black_128.svg
This commit is contained in:
Anthony Rose 2024-10-03 11:40:36 +01:00
parent d45c1ebcb7
commit 65a142fd38
4 changed files with 51 additions and 0 deletions

View file

@ -3,5 +3,6 @@ Name=Microsoft PowerShell
TryExec=/home/acp/.dotnet/tools/pwsh
Exec=/home/acp/.dotnet/tools/pwsh
Type=Application
Icon=pwsh
Terminal=true
StartupNotify=true

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="128px" height="128px" viewBox="0 0 128 128" enable-background="new 0 0 128 128" xml:space="preserve">
<g>
<line fill="none" x1="0" y1="128" x2="0" y2="0"/>
</g>
<line opacity="0" fill-rule="evenodd" clip-rule="evenodd" fill="#00FF18" x1="0" y1="128" x2="0" y2="0"/>
<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="95.2667" y1="91.9263" x2="26.7" y2="30.68">
<stop offset="0" style="stop-color:#A9C8FF"/>
<stop offset="1" style="stop-color:#C7E6FF"/>
</linearGradient>
<path opacity="0.8" fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M9.033,109c-1.633,0-3.046-0.638-3.978-1.798
c-0.952-1.185-1.279-2.814-0.896-4.47l17.986-77.911C22.899,21.557,26.062,19,29.349,19h89.623c1.634,0,3.047,0.638,3.978,1.798
c0.952,1.184,1.279,2.814,0.896,4.47l-17.986,77.911c-0.753,3.264-3.917,5.822-7.203,5.822H9.033z"/>
<g>
<g>
<linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="26.5854" y1="30.7778" x2="93.5854" y2="90.2778">
<stop offset="0" style="stop-color:#2D4664"/>
<stop offset="0.1689" style="stop-color:#29405B"/>
<stop offset="0.4445" style="stop-color:#1E2F43"/>
<stop offset="0.7902" style="stop-color:#0C131B"/>
<stop offset="1" style="stop-color:#000000"/>
</linearGradient>
<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_2_)" d="M118.5,20H29.634c-2.769,0-5.53,2.259-6.168,5.045
L5.632,102.955C4.995,105.742,6.722,108,9.491,108h88.865c2.769,0,5.53-2.258,6.168-5.045l17.834-77.911
C122.996,22.259,121.268,20,118.5,20z"/>
</g>
</g>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#2C5591" d="M64.165,87.558h21.613c2.513,0,4.55,2.125,4.55,4.746
c0,2.621-2.037,4.747-4.55,4.747H64.165c-2.513,0-4.55-2.125-4.55-4.747C59.615,89.683,61.652,87.558,64.165,87.558z"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#2C5591" d="M78.184,66.455c-0.372,0.749-1.144,1.575-2.509,2.534
L35.562,97.798c-2.19,1.591-5.334,1.001-7.021-1.319c-1.687-2.32-1.28-5.49,0.91-7.082l36.173-26.194v-0.538L42.896,38.487
c-1.854-1.972-1.661-5.161,0.431-7.124c2.092-1.962,5.29-1.954,7.144,0.018l27.271,29.012C79.29,62.04,79.405,64.534,78.184,66.455z
"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M77.184,65.455c-0.372,0.749-1.144,1.575-2.509,2.534
L34.562,96.798c-2.19,1.591-5.334,1.001-7.021-1.319c-1.687-2.32-1.28-5.49,0.91-7.082l36.173-26.194v-0.538L41.896,37.487
c-1.854-1.972-1.661-5.161,0.431-7.124c2.092-1.962,5.29-1.954,7.144,0.018l27.271,29.012C78.29,61.04,78.405,63.534,77.184,65.455z
"/>
<path fill-rule="evenodd" clip-rule="evenodd" fill="#FFFFFF" d="M63.55,87h21.613c2.513,0,4.55,2.015,4.55,4.5
c0,2.485-2.037,4.5-4.55,4.5H63.55C61.037,96,59,93.985,59,91.5C59,89.015,61.037,87,63.55,87z"/>
</svg>

After

Width:  |  Height:  |  Size: 3 KiB

View file

@ -33,3 +33,7 @@
ansible.builtin.file:
path: "{{ ansible_env.XDG_CONFIG_HOME }}/fontconfig"
state: directory
- name: Create $XDG_DATA_HOME/icons
ansible.builtin.file:
path: "{{ ansible_env.XDG_DATA_HOME }}/icons"
state: directory

View file

@ -79,3 +79,7 @@
ansible.builtin.copy:
src: "pwsh.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh.desktop"
- name: Create $XDG_DATA_HOME/icons/pwsh.svg
ansible.builtin.copy:
src: "pwsh.svg"
dest: "{{ ansible_env.XDG_DATA_HOME }}/icons/pwsh.svg"