This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/i3/tasks/main.yml

55 lines
1.2 KiB
YAML
Raw Normal View History

2023-02-16 09:03:09 +00:00
- name: Install packages
become: true
apt:
pkg:
- i3-wm
2023-02-26 00:17:16 +00:00
- i3status
2023-02-16 09:03:09 +00:00
- i3lock
2023-02-26 00:17:16 +00:00
- rofi
2023-02-25 16:15:36 +00:00
- nitrogen
2023-02-26 13:00:36 +00:00
- xss-lock
2023-03-04 13:28:09 +00:00
- arandr
- autorandr
2023-03-13 08:27:35 +00:00
- brightnessctl
2023-02-16 09:03:09 +00:00
- name: Create i3 config directory
file:
path: ~/.config/i3
state: directory
- name: Copy i3 config
copy:
src: "{{ role_path }}/files/config"
dest: ~/.config/i3/config
2023-02-23 20:19:38 +00:00
- name: Copy scripts directory
copy:
src: "{{ role_path }}/files/scripts"
dest: ~/.config/i3
mode: preserve
2023-02-25 16:15:36 +00:00
- name: Copy wallpapers
copy:
src: "{{ role_path }}/files/wallpapers"
dest: ~/Pictures
- name: Create nitrogen config directory
file:
path: ~/.config/nitrogen
state: directory
- name: Copy nitrogen.cfg
copy:
src: "{{ role_path }}/files/nitrogen.cfg"
dest: ~/.config/nitrogen/nitrogen.cfg
- name: Copy bg-saved.cfg
copy:
src: "{{ role_path }}/files/bg-saved.cfg"
dest: ~/.config/nitrogen/bg-saved.cfg
2023-03-04 13:28:09 +00:00
- name: Handle lid close
become: true
ini_file:
path: /etc/systemd/logind.conf
section: Login
option: HandleLidSwitch
value: suspend
no_extra_spaces: true
2023-03-06 22:33:29 +00:00
- name: Copy autorandr configuration
copy:
src: "{{ role_path }}/files/autorandr/"
dest: ~/.config