customize-xfce-anisble/playbook/roles/role-one/tasks/plank-dock.yml
swapnil fae1b5f2f9
Some checks failed
buildbot/travis_bionic Build done.
Updated
2022-03-21 18:45:40 +05:30

85 lines
2.3 KiB
YAML

---
- name: Plank Dock | Install plank dock
become: yes
apt:
name:
- plank
state: latest
- name: Plank Dock | Copy plank themes
copy:
src: "{{ home_directory }}/Downloads/WhiteSur-gtk-theme/src/other/plank/"
dest: "{{ home_directory }}/.local/share/plank/themes/"
remote_src: yes
- name: Plank Dock | Copy launchpad icon
copy:
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/icons/launchpad.svg"
dest: "{{ home_directory }}/.local/share/icons/"
remote_src: yes
- name: Plank Dock | Ensure that plank_dock_launcher_path exists
file:
path: "{{ plank_dock_launcher_path }}"
state: directory
- name: Plank Dock | Remove all *.dockitem files
shell:
cmd: "rm -f {{ plank_dock_launcher_path }}/*.dockitem"
- name: Plank Dock | Add launchpad.dockitem to dock
template:
src: launchpad.dockitem
dest: "{{ plank_dock_launcher_path }}/launchpad.dockitem"
- name: Plank Dock | Add thunar.dockitem to dock
copy:
src: thunar.dockitem
dest: "{{ plank_dock_launcher_path }}/thunar.dockitem"
- name: Plank Dock | Add org.xfce.Parole.dockitem to dock
copy:
src: org.xfce.Parole.dockitem
dest: "{{ plank_dock_launcher_path }}/org.xfce.Parole.dockitem"
- name: Plank Dock | Add thunderbird.dockitem to dock
copy:
src: thunderbird.dockitem
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
- name: Plank Dock | Add firefox.dockitem to dock
copy:
src: firefox.dockitem
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
copy:
src: xfce4-terminal.dockitem
dest: "{{ plank_dock_launcher_path }}/xfce4-terminal.dockitem"
- name: Plank Dock | Add mate-calc.dockitem to dock
copy:
src: mate-calc.dockitem
dest: "{{ plank_dock_launcher_path }}/mate-calc.dockitem"
- name: Plank Dock | Add desktop.dockitem to dock
copy:
src: desktop.dockitem
dest: "{{ plank_dock_launcher_path }}/desktop.dockitem"
- name: Plank Dock | Add trash.dockitem to dock
copy:
src: trash.dockitem
dest: "{{ plank_dock_launcher_path }}/trash.dockitem"
- name: Plank Dock | Ensure autostart directory exists
file:
path: "{{ autostart_path }}"
state: directory
- name: Plank Dock | Add plank to autostart
copy:
src: plank.desktop
dest: "{{ autostart_path }}/plank.desktop"