Add separate launcher for KDE
This commit is contained in:
parent
659f466ea0
commit
5cb62073a9
3 changed files with 17 additions and 4 deletions
|
@ -1,7 +1,8 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Microsoft PowerShell
|
Name=Microsoft PowerShell (GNOME Terminal)
|
||||||
TryExec=/home/acp/.dotnet/tools/pwsh
|
TryExec=/home/acp/.dotnet/tools/pwsh
|
||||||
Exec=gnome-terminal --profile=PowerShell
|
Exec=gnome-terminal --profile=PowerShell
|
||||||
Type=Application
|
Type=Application
|
||||||
Icon=pwsh
|
Icon=pwsh
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
OnlyShowIn=GNOME
|
8
roles/home-gui/files/pwsh-kde.desktop
Normal file
8
roles/home-gui/files/pwsh-kde.desktop
Normal 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
|
|
@ -75,10 +75,14 @@
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "face.svg"
|
src: "face.svg"
|
||||||
dest: "{{ ansible_env.HOME }}/.face"
|
dest: "{{ ansible_env.HOME }}/.face"
|
||||||
- name: Create $XDG_DATA_HOME/pwsh.desktop
|
- name: Create $XDG_DATA_HOME/pwsh-gnome.desktop
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "pwsh.desktop"
|
src: "pwsh-gnome.desktop"
|
||||||
dest: "{{ ansible_env.XDG_DATA_HOME }}/applications/pwsh.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
|
- name: Create $XDG_DATA_HOME/icons/pwsh.svg
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: "pwsh.svg"
|
src: "pwsh.svg"
|
||||||
|
|
Loading…
Reference in a new issue