automatrop: Various fixes

This commit is contained in:
Geoffrey Frogeye 2021-11-09 13:59:25 +01:00
parent a801c86563
commit e4502a30c5
7 changed files with 10 additions and 7 deletions

View file

@ -14,3 +14,6 @@ has_forge_access: yes
extensions: extensions:
- g - g
- gh - gh
x11_screens:
- HDMI-0
- eDP-1-1

View file

@ -9,3 +9,6 @@ encrypt_home_stacked_fs: yes
extensions: extensions:
- g - g
- gh - gh
x11_screens:
- DP-1
- eDP-1

View file

@ -14,8 +14,9 @@
git: git:
repo: "{% if has_forge_access %}git@git.frogeye.fr:{% else %}https://git.frogeye.fr/{% endif %}geoffrey/dotfiles.git" repo: "{% if has_forge_access %}git@git.frogeye.fr:{% else %}https://git.frogeye.fr/{% endif %}geoffrey/dotfiles.git"
dest: "{{ ansible_user_dir }}/.dotfiles" dest: "{{ ansible_user_dir }}/.dotfiles"
update: "{{ not has_forge_access }}" update: yes
notify: install dotfiles notify: install dotfiles
tags: dotfiles_repo
# TODO Put actual dotfiles in a subdirectory of the repo, so we don't have to put everything in config # TODO Put actual dotfiles in a subdirectory of the repo, so we don't have to put everything in config
- name: Register as Ansible collection - name: Register as Ansible collection

View file

@ -1,2 +0,0 @@
dependencies:
- role: system

View file

@ -179,9 +179,6 @@
notify: "software changed" notify: "software changed"
tags: softwarelist tags: softwarelist
- debug:
msg: "{{ packages }}"
- name: Install packages (Arch-based) - name: Install packages (Arch-based)
aur: aur:
name: "{{ packages }}" name: "{{ packages }}"

View file

@ -149,7 +149,7 @@ set $WS9 9
set $WS10 10 set $WS10 10
# Workspace output # Workspace output
{% set screens = ["HDMI-0", "eDP-1-1"] %} {% set screens = x11_screens | default(['DEFAULT']) %}
{% for i in range(1, 11) %} {% for i in range(1, 11) %}
workspace "$WS{{ i }}" output {{ screens[(i - 1) % (screens | length)] }} workspace "$WS{{ i }}" output {{ screens[(i - 1) % (screens | length)] }}
{% endfor %} {% endfor %}

View file

@ -1,2 +1,3 @@
extrc
*.zwc *.zwc
.zcompdump .zcompdump