mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-22 18:14:16 +00:00
support setting terminal via variable
This commit is contained in:
parent
21d0588aab
commit
9ce5f50780
4 changed files with 8 additions and 6 deletions
|
|
@ -347,3 +347,5 @@ illuminanced:
|
|||
backlight_file: /sys/class/backlight/amdgpu_bl1/brightness
|
||||
illuminance_file: /sys/bus/iio/devices/iio:device0/in_illuminance_raw
|
||||
min_backlight: 60
|
||||
|
||||
terminal: alacritty
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
- { role: interception, tags: ['interception'], when: "interception is defined" }
|
||||
- { role: fonts, tags: ['fonts'] }
|
||||
- { role: x, tags: ['x'] }
|
||||
- { role: alacritty, tags: ['alacritty'] }
|
||||
- { role: terminal, tags: ['terminal'], when: "terminal is defined" }
|
||||
- { role: lightdm, tags: ['lightdm'], when: "display_manager == 'lightdm'" }
|
||||
- { role: gdm, tags: ['gdm'], when: "display_manager == 'gdm'" }
|
||||
- { role: i3, tags: ['i3'], when: "desktop_environment == 'i3'" }
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
- name: Install alacritty
|
||||
pacman:
|
||||
name: alacritty
|
||||
state: present
|
||||
5
roles/terminal/tasks/main.yml
Normal file
5
roles/terminal/tasks/main.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- name: Install {{ terminal }}
|
||||
pacman:
|
||||
name: "{{ terminal }}"
|
||||
state: present
|
||||
Loading…
Add table
Add a link
Reference in a new issue