2022-03-11 09:59:12 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Plank Dock | Install plank dock
|
2022-03-21 14:15:40 +01:00
|
|
|
become: yes
|
2022-03-11 09:59:12 +01:00
|
|
|
apt:
|
|
|
|
name:
|
|
|
|
- plank
|
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Plank Dock | Copy plank themes
|
|
|
|
copy:
|
2022-03-15 06:42:43 +01:00
|
|
|
src: "{{ home_directory }}/Downloads/WhiteSur-gtk-theme/src/other/plank/"
|
|
|
|
dest: "{{ home_directory }}/.local/share/plank/themes/"
|
2022-03-11 09:59:12 +01:00
|
|
|
remote_src: yes
|
|
|
|
|
2022-03-15 06:42:43 +01:00
|
|
|
- name: Plank Dock | Copy launchpad icon
|
2022-03-11 09:59:12 +01:00
|
|
|
copy:
|
2022-03-15 06:42:43 +01:00
|
|
|
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/icons/launchpad.svg"
|
|
|
|
dest: "{{ home_directory }}/.local/share/icons/"
|
2022-03-11 09:59:12 +01:00
|
|
|
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
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: thunar.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/thunar.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add org.xfce.Parole.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: org.xfce.Parole.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/org.xfce.Parole.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add thunderbird.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: thunderbird.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/thunderbird.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add firefox.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: firefox.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/firefox.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add xfce4-terminal.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: xfce4-terminal.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/xfce4-terminal.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add mate-calc.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: mate-calc.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/mate-calc.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add desktop.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: desktop.dockitem
|
|
|
|
dest: "{{ plank_dock_launcher_path }}/desktop.dockitem"
|
|
|
|
|
|
|
|
- name: Plank Dock | Add trash.dockitem to dock
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
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
|
2022-03-15 06:42:43 +01:00
|
|
|
copy:
|
2022-03-11 09:59:12 +01:00
|
|
|
src: plank.desktop
|
|
|
|
dest: "{{ autostart_path }}/plank.desktop"
|