diff --git a/roles/home-gui/files/pwsh.desktop b/roles/home-gui/files/pwsh.desktop index c359e10..1f2bed0 100644 --- a/roles/home-gui/files/pwsh.desktop +++ b/roles/home-gui/files/pwsh.desktop @@ -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 diff --git a/roles/home-gui/files/pwsh.svg b/roles/home-gui/files/pwsh.svg new file mode 100644 index 0000000..b427df2 --- /dev/null +++ b/roles/home-gui/files/pwsh.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/roles/home-gui/tasks/dirs.yml b/roles/home-gui/tasks/dirs.yml index 938f42f..2421da2 100644 --- a/roles/home-gui/tasks/dirs.yml +++ b/roles/home-gui/tasks/dirs.yml @@ -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 diff --git a/roles/home-gui/tasks/dotfiles.yml b/roles/home-gui/tasks/dotfiles.yml index a3176d7..06deb04 100644 --- a/roles/home-gui/tasks/dotfiles.yml +++ b/roles/home-gui/tasks/dotfiles.yml @@ -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"