customize-xfce-anisble/playbook/roles/role-one/tasks/general-changes.yml

68 lines
1.8 KiB
YAML
Raw Normal View History

2022-03-11 08:59:12 +00:00
---
- name: General Changes | Install xfce4
2022-03-21 13:15:40 +00:00
become: yes
2022-03-11 08:59:12 +00:00
apt:
name: xfce4
state: latest
2022-03-21 13:15:40 +00:00
update_cache: yes
2022-03-11 08:59:12 +00:00
- name: General Changes | Hide icons
xfconf:
channel: "xfce4-desktop"
property: "/desktop-icons/style"
value_type: "int"
value: 0
- name: General Changes | Update Window Manager - cycle_draw_frame
2022-03-11 08:59:12 +00:00
xfconf:
channel: xfwm4
property: /general/cycle_draw_frame
value_type: bool
value: "false"
- name: General Changes | Update Window Manager - placement_mode
2022-03-11 08:59:12 +00:00
xfconf:
channel: xfwm4
property: /general/placement_mode
value_type: string
value: center
- name: General Changes | Update Window Manager - show_dock_shadow
2022-03-11 08:59:12 +00:00
xfconf:
channel: xfwm4
property: /general/show_dock_shadow
value_type: bool
value: "false"
2022-03-21 13:15:40 +00:00
- name: General Changes | Make sure ~/Downloads directory exists
file:
path: "{{ home_directory }}/Downloads"
state: directory
- name: General Changes | Check if already downloaded
file:
path: "{{ home_directory }}/Downloads/update-xfce-bigsur"
state: directory
register: update_xfce_bigsur_directory
2022-03-11 08:59:12 +00:00
- name: General Changes | Download and Unzip update-xfce-bigsur.zip
unarchive:
src: "{{ update_xfce_bigsur_file_url }}"
dest: "{{ home_directory }}/Downloads"
2022-03-11 08:59:12 +00:00
remote_src: yes
2022-03-21 13:15:40 +00:00
when: update_xfce_bigsur_directory.changed
2022-03-11 08:59:12 +00:00
- name: General Changes | Copy wallpapers to ~/Pictures
copy:
src: "{{ home_directory }}/Downloads/update-xfce-bigsur/wallpapers"
dest: "{{ home_directory }}/Pictures"
2022-03-11 08:59:12 +00:00
remote_src: yes
- name: General Changes | Change wallpaper
xfconf:
channel: "xfce4-desktop"
2022-03-21 13:15:40 +00:00
property: "/backdrop/screen0/monitor0/workspace0/last-image"
2022-03-11 08:59:12 +00:00
value_type: "string"
2022-03-21 13:15:40 +00:00
value: "{{ home_directory }}/Pictures/wallpapers/2560x1440.png"