initial commit
This commit is contained in:
72
tasks/configure-i3.yaml
Normal file
72
tasks/configure-i3.yaml
Normal file
@@ -0,0 +1,72 @@
|
||||
- name: i3 Configuration - Create .i3 directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.i3"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.i3/config"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/i3/config"
|
||||
dest: "{{ userhome }}/.i3/config"
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/picom.conf"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/picom.conf"
|
||||
dest: "{{ userhome }}/.config/picom.conf"
|
||||
|
||||
- name: i3 Configuration - Create dunst directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/dunst"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/dunst/dunstrc"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/dunst/dunstrc"
|
||||
dest: "{{ userhome }}/.config/dunst/dunstrc"
|
||||
|
||||
- name: i3 Configuration - Create i3blocks directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/i3blocks"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/i3blocks/config"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/i3blocks/config"
|
||||
dest: "{{ userhome }}/.config/i3blocks/config"
|
||||
|
||||
- name: i3 Configuration - Create rofi directory
|
||||
become_user: "{{ username }}"
|
||||
file:
|
||||
path: "{{ userhome }}/.config/rofi"
|
||||
state: directory
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/.config/rofi/config.rasi"
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: "files/configs/i3/config/rofi/config.rasi"
|
||||
dest: "{{ userhome }}/.config/rofi/config.rasi"
|
||||
|
||||
- name: i3 Configuration - Copy "{{ userhome }}/opt/scripts/myi3blocks" scripts
|
||||
become_user: "{{ username }}"
|
||||
copy:
|
||||
src: files/configs/i3/myi3blocks/
|
||||
dest: "{{ userhome }}/opt/scripts/myi3blocks/"
|
||||
mode: "0755"
|
||||
|
||||
- name: i3 Configuration - Copy i3exit script
|
||||
copy:
|
||||
src: files/configs/misc-scripts/i3exit
|
||||
dest: /usr/bin/i3exit
|
||||
mode: "0755"
|
||||
|
||||
- name: i3 Configuration - Copy blurlock script
|
||||
copy:
|
||||
src: files/configs/misc-scripts/blurlock
|
||||
dest: /usr/bin/blurlock
|
||||
mode: "0755"
|
||||
Reference in New Issue
Block a user