Add separate launcher for KDE

This commit is contained in:
Anthony Rose 2024-10-28 08:30:43 +00:00
parent 659f466ea0
commit 5cb62073a9
3 changed files with 17 additions and 4 deletions

View file

@ -1,7 +1,8 @@
[Desktop Entry]
Name=Microsoft PowerShell
Name=Microsoft PowerShell (GNOME Terminal)
TryExec=/home/acp/.dotnet/tools/pwsh
Exec=gnome-terminal --profile=PowerShell
Type=Application
Icon=pwsh
StartupNotify=true
OnlyShowIn=GNOME

View file

@ -0,0 +1,8 @@
[Desktop Entry]
Name=Microsoft PowerShell (Konsole)
TryExec=/home/acp/.dotnet/tools/pwsh
Exec=konsole --profile=PowerShell
Type=Application
Icon=pwsh
StartupNotify=true
OnlyShowIn=KDE

View file

@ -75,10 +75,14 @@
ansible.builtin.copy:
src: "face.svg"
dest: "{{ ansible_env.HOME }}/.face"
- name: Create $XDG_DATA_HOME/pwsh.desktop
- name: Create $XDG_DATA_HOME/pwsh-gnome.desktop
ansible.builtin.copy:
src: "pwsh.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh.desktop"
src: "pwsh-gnome.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh-gnome.desktop"
- name: Create $XDG_DATA_HOME/pwsh-kde.desktop
ansible.builtin.copy:
src: "pwsh-kde.desktop"
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh-kde.desktop"
- name: Create $XDG_DATA_HOME/icons/pwsh.svg
ansible.builtin.copy:
src: "pwsh.svg"