Add a playbook and config file for i3.
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
---
|
||||
# 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
|
||||
Reference in New Issue
Block a user