Minor formatting change
This commit is contained in:
parent
7801b7bda4
commit
dee35e80e9
1 changed files with 25 additions and 25 deletions
|
@ -36,7 +36,7 @@
|
||||||
- scrot
|
- scrot
|
||||||
- viewnior
|
- viewnior
|
||||||
- hsetroot
|
- hsetroot
|
||||||
- libstartup-notification0-dev # build dependency
|
- libstartup-notification0-dev # build dependency
|
||||||
- python3-matplotlib
|
- python3-matplotlib
|
||||||
- sysstat
|
- sysstat
|
||||||
- upower
|
- upower
|
||||||
|
@ -45,8 +45,8 @@
|
||||||
- name: Clone repos
|
- name: Clone repos
|
||||||
git: repo={{ item.repo }} dest={{ item.dest }} clone=yes update=no
|
git: repo={{ item.repo }} dest={{ item.dest }} clone=yes update=no
|
||||||
with_items:
|
with_items:
|
||||||
- { repo: 'https://github.com/addy-dclxvi/i3-starterpack.git', dest: '~/.git_clones/i3-starterpack' }
|
- {repo: 'https://github.com/addy-dclxvi/i3-starterpack.git', dest: '~/.git_clones/i3-starterpack'}
|
||||||
- { repo: 'https://github.com/vivien/i3blocks-contrib.git', dest: '~/.git_clones/i3blocks-contrib' }
|
- {repo: 'https://github.com/vivien/i3blocks-contrib.git', dest: '~/.git_clones/i3blocks-contrib'}
|
||||||
|
|
||||||
- name: Copy i3 config
|
- name: Copy i3 config
|
||||||
template:
|
template:
|
||||||
|
@ -57,48 +57,48 @@
|
||||||
- name: Copy files
|
- name: Copy files
|
||||||
copy: src={{ item.src }} dest={{ item.dest }} backup=true
|
copy: src={{ item.src }} dest={{ item.dest }} backup=true
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'i3blocksconfig', dest: '~/.config/i3blocks/config' }
|
- {src: 'i3blocksconfig', dest: '~/.config/i3blocks/config'}
|
||||||
- { src: 'xinitrc', dest: '~/.xinitrc' }
|
- {src: 'xinitrc', dest: '~/.xinitrc'}
|
||||||
- { src: 'xserverrc', dest: '~/.xserverrc' }
|
- {src: 'xserverrc', dest: '~/.xserverrc'}
|
||||||
- { src: 'Xresources', dest: '~/.Xresources' }
|
- {src: 'Xresources', dest: '~/.Xresources'}
|
||||||
- { src: 'xsettingsd', dest: '~/.xsettingsd' }
|
- {src: 'xsettingsd', dest: '~/.xsettingsd'}
|
||||||
- { src: 'picom.conf', dest: '~/.config/picom.conf' }
|
- {src: 'picom.conf', dest: '~/.config/picom.conf'}
|
||||||
|
|
||||||
- name: Symlink files (All)
|
- name: Symlink files (All)
|
||||||
file: src={{ item.src }} path={{ item.path }} state=link
|
file: src={{ item.src }} path={{ item.path }} state=link
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '~/.config/picom.conf', path: '~/.config/compton.conf' }
|
- {src: '~/.config/picom.conf', path: '~/.config/compton.conf'}
|
||||||
- { src: '~/.git_clones/i3-starterpack/.fonts/icomoon/feather.ttf', path: '~/.fonts/icomoon/feather.ttf' }
|
- {src: '~/.git_clones/i3-starterpack/.fonts/icomoon/feather.ttf', path: '~/.fonts/icomoon/feather.ttf'}
|
||||||
- { src: '~/.git_clones/i3blocks-contrib/temperature/temperature', path: '~/.config/i3blocks/scripts/temperature' }
|
- {src: '~/.git_clones/i3blocks-contrib/temperature/temperature', path: '~/.config/i3blocks/scripts/temperature'}
|
||||||
- { src: '~/.git_clones/i3blocks-contrib/calendar/calendar', path: '~/.config/i3blocks/scripts/calendar' }
|
- {src: '~/.git_clones/i3blocks-contrib/calendar/calendar', path: '~/.config/i3blocks/scripts/calendar'}
|
||||||
- { src: '~/.git_clones/i3blocks-contrib/cpu_usage/cpu_usage', path: '~/.config/i3blocks/scripts/cpu_usage' }
|
- {src: '~/.git_clones/i3blocks-contrib/cpu_usage/cpu_usage', path: '~/.config/i3blocks/scripts/cpu_usage'}
|
||||||
|
|
||||||
- name: Symlink files (Archlinux)
|
- name: Symlink files (Archlinux)
|
||||||
file: src={{ item.src }} path={{ item.path }} state=link
|
file: src={{ item.src }} path={{ item.path }} state=link
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '~/.git_clones/i3blocks-contrib/arch-update/arch-update', path: '~/.config/i3blocks/scripts/arch-update' }
|
- {src: '~/.git_clones/i3blocks-contrib/arch-update/arch-update', path: '~/.config/i3blocks/scripts/arch-update'}
|
||||||
when: ansible_facts['distribution'] == 'Archlinux'
|
when: ansible_facts['distribution'] == 'Archlinux'
|
||||||
|
|
||||||
- name: Symlink files (Debian)
|
- name: Symlink files (Debian)
|
||||||
file: src={{ item.src }} path={{ item.path }} state=link
|
file: src={{ item.src }} path={{ item.path }} state=link
|
||||||
with_items:
|
with_items:
|
||||||
- { src: '~/.git_clones/i3blocks-contrib/apt-upgrades/apt-upgrades', path: '~/.config/i3blocks/scripts/apt-upgrades' }
|
- {src: '~/.git_clones/i3blocks-contrib/apt-upgrades/apt-upgrades', path: '~/.config/i3blocks/scripts/apt-upgrades'}
|
||||||
when: ansible_facts['distribution'] == 'Debian'
|
when: ansible_facts['distribution'] == 'Debian'
|
||||||
|
|
||||||
- name: Copy scripts (All)
|
- name: Copy scripts (All)
|
||||||
copy: src={{ item.src }} dest={{ item.dest }} mode=0755 backup=true
|
copy: src={{ item.src }} dest={{ item.dest }} mode=0755 backup=true
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'nagstamon', dest: '~/.config/i3blocks/scripts/nagstamon' }
|
- {src: 'nagstamon', dest: '~/.config/i3blocks/scripts/nagstamon'}
|
||||||
- { src: 'battery', dest: '~/.config/i3blocks/scripts/battery' }
|
- {src: 'battery', dest: '~/.config/i3blocks/scripts/battery'}
|
||||||
- { src: 'free_disk_space', dest: '~/.config/i3blocks/scripts/free_disk_space' }
|
- {src: 'free_disk_space', dest: '~/.config/i3blocks/scripts/free_disk_space'}
|
||||||
- { src: 'pub-ip', dest: '~/.config/i3blocks/scripts/pub-ip' }
|
- {src: 'pub-ip', dest: '~/.config/i3blocks/scripts/pub-ip'}
|
||||||
- { src: 'clitip_wallpaper.sh', dest: '~/.local/bin/clitip_wallpaper.sh' }
|
- {src: 'clitip_wallpaper.sh', dest: '~/.local/bin/clitip_wallpaper.sh'}
|
||||||
- { src: 'xkcd_wallpaper.sh', dest: '~/.local/bin/xkcd_wallpaper.sh' }
|
- {src: 'xkcd_wallpaper.sh', dest: '~/.local/bin/xkcd_wallpaper.sh'}
|
||||||
|
|
||||||
- name: Copy scripts (Archlinux)
|
- name: Copy scripts (Archlinux)
|
||||||
copy: src={{ item.src }} dest={{ item.dest }} mode=0755 backup=true
|
copy: src={{ item.src }} dest={{ item.dest }} mode=0755 backup=true
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'arch_linux_news', dest: '~/.config/i3blocks/scripts/arch_linux_news' }
|
- {src: 'arch_linux_news', dest: '~/.config/i3blocks/scripts/arch_linux_news'}
|
||||||
when: ansible_facts['distribution'] == 'Archlinux'
|
when: ansible_facts['distribution'] == 'Archlinux'
|
||||||
|
|
||||||
- name: Reload font cache
|
- name: Reload font cache
|
||||||
|
@ -113,8 +113,8 @@
|
||||||
git:
|
git:
|
||||||
repo: https://github.com/vivien/i3blocks.git
|
repo: https://github.com/vivien/i3blocks.git
|
||||||
dest: ~/.git_clones/i3blocks
|
dest: ~/.git_clones/i3blocks
|
||||||
clone: yes
|
clone: true
|
||||||
update: no
|
update: false
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: cd ~/.git_clones/i3blocks && ./autogen.sh && ./configure && make
|
shell: cd ~/.git_clones/i3blocks && ./autogen.sh && ./configure && make
|
||||||
- name: Install
|
- name: Install
|
||||||
|
|
Loading…
Add table
Reference in a new issue