mirror of
https://github.com/roles-ansible/ansible_role_sway.git
synced 2024-08-16 13:49:49 +02:00
copy default images
This commit is contained in:
parent
e1e5add8a6
commit
838d135df0
5 changed files with 14 additions and 3 deletions
|
@ -28,10 +28,10 @@ i3:
|
|||
font_size: 9
|
||||
focus_follows_mouse: true
|
||||
# set i3lock options
|
||||
i3lock_options: "i3lock --color 5eba5e"
|
||||
i3lock_options: "i3lock --image=/home/{{ i3wm_user }}/.config/lockscreen.png --color 000000"
|
||||
# use fancy background
|
||||
i3_desktop_env:
|
||||
background: "~/wallpaper.jpg"
|
||||
background: "/home/{{ i3wm_user }}/.config/background.png"
|
||||
# install additional packages
|
||||
i3_packages_extra:
|
||||
- ranger
|
||||
|
@ -39,3 +39,5 @@ i3_packages_extra:
|
|||
i3wm_user: "{{ ansible_user_id }}"
|
||||
# version check for this role?
|
||||
submodules_versioncheck: true
|
||||
|
||||
i3wm_copy_wallpapers: true
|
||||
|
|
BIN
files/background.png
Normal file
BIN
files/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
BIN
files/lockscreen.png
Normal file
BIN
files/lockscreen.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 183 KiB |
|
@ -67,3 +67,12 @@
|
|||
dest: ~/.config/i3/config
|
||||
remote_src: true
|
||||
when: config_file_backup.stat.exists
|
||||
|
||||
- name: copy files
|
||||
copy:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
with_items:
|
||||
- { src: 'files/background.png', dest: "/home/{{ i3wm_user }}/.config/background.png" }
|
||||
- { src: 'files/lockscreen.png', dest: '/home/{{ i3wm_user }}/.config/lockscreen.png' }
|
||||
when: i3wm_copy_wallpapers | bool
|
||||
|
|
|
@ -33,5 +33,5 @@ __i3_workspaces:
|
|||
|
||||
user: "{{ i3wm_user }}"
|
||||
|
||||
playbook_version_number: 9001 # should be over ninethousand
|
||||
playbook_version_number: 9002 # should be over ninethousand
|
||||
playbook_version_path: '/etc/ansible-version/role-i3wm_chaos-bodensee_github.com.version'
|
||||
|
|
Loading…
Reference in a new issue