Files
env-ansible/tasks/workstation/linux/software/i3.yml
T

31 lines
986 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
# 20260716 - Hyperling
# Add the setup for a simple i3 configuration. It´s pretty easy to use and
# functions super well. Very easy to get going and does not need a whole lot of
# work to change things around. Good alternative to DWM and so lightweight that
# it doesn´t even matter if both are installed!!
- name: Workstation | Linux | Software | i3 | Facts | General
set_fact:
i3_config_this: "settings/i3.config"
i3_config_that: "{{ user_user.home }}/.config/i3/config"
- name: Workstation | Linux | Software | i3 | Facts | Debian Derivitives
set_fact:
i3_package: i3
when: ansible_distribution in ("Debian", "Devuan")
- name: Workstation | Linux | Software | i3 | Install
- package:
name: "{{ i3_package }}"
status: present
refresh_cache: yes
- name: Workstation | Linux | Software | i3 | Config
copy:
src: "{{ i3_config_this }}"
dest: "{{ i3_config_that }}"
owner: "{{ user.user }}"
group: "{{ user.user }}"
mode: 0664