- seaf-cli start aus i3 autostart entfernt - systemd User-Service erstellt (Restart bei Netzwerkproblemen, Logging via journalctl) - Ansible-Tasks für Service-Deployment und Aktivierung hinzugefügt
135 lines
3.8 KiB
YAML
135 lines
3.8 KiB
YAML
- 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 - Create alacritty directory
|
|
become_user: "{{ username }}"
|
|
file:
|
|
path: "{{ userhome }}/.config/alacritty"
|
|
state: directory
|
|
|
|
- name: i3 Configuration - Copy "{{ userhome }}/.config/alacritty/alacritty.toml"
|
|
become_user: "{{ username }}"
|
|
copy:
|
|
src: "files/configs/alacritty/alacritty.toml"
|
|
dest: "{{ userhome }}/.config/alacritty/alacritty.toml"
|
|
|
|
- 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"
|
|
|
|
- name: i3 Configuration - Copy clipboard-rofi script
|
|
copy:
|
|
src: files/configs/misc-scripts/clipboard-rofi
|
|
dest: /usr/bin/clipboard-rofi
|
|
mode: "0755"
|
|
|
|
- name: i3 Configuration - Copy volume-notify script
|
|
copy:
|
|
src: files/configs/misc-scripts/volume-notify
|
|
dest: /usr/bin/volume-notify
|
|
mode: "0755"
|
|
|
|
- name: i3 Configuration - Copy brightness-notify script
|
|
copy:
|
|
src: files/configs/misc-scripts/brightness-notify
|
|
dest: /usr/bin/brightness-notify
|
|
mode: "0755"
|
|
|
|
- name: i3 Configuration - Copy sysinfo-notify script
|
|
copy:
|
|
src: files/configs/misc-scripts/sysinfo-notify
|
|
dest: /usr/bin/sysinfo-notify
|
|
mode: "0755"
|
|
|
|
- name: i3 Configuration - Create Screenshots directory
|
|
become_user: "{{ username }}"
|
|
file:
|
|
path: "{{ userhome }}/Pictures/Screenshots"
|
|
state: directory
|
|
|
|
- name: i3 Configuration - Create systemd user service directory
|
|
become_user: "{{ username }}"
|
|
file:
|
|
path: "{{ userhome }}/.config/systemd/user"
|
|
state: directory
|
|
|
|
- name: i3 Configuration - Copy seaf-cli systemd user service
|
|
become_user: "{{ username }}"
|
|
copy:
|
|
src: files/configs/systemd/seaf-cli.service
|
|
dest: "{{ userhome }}/.config/systemd/user/seaf-cli.service"
|
|
|
|
- name: i3 Configuration - Enable seaf-cli user service
|
|
become_user: "{{ username }}"
|
|
systemd:
|
|
name: seaf-cli
|
|
enabled: yes
|
|
scope: user
|
|
daemon_reload: yes
|