Added rgb support for msi keyboard

This commit is contained in:
Kevin Veen-Birkenbach 2022-08-18 19:23:43 +02:00
parent 2db6b4beba
commit 08302bbcc9
4 changed files with 21 additions and 1 deletions

View File

@ -12,11 +12,16 @@
become: true become: true
roles: roles:
- native-gnome - native-gnome
- name: setup msi rgb keyboard
hosts: msi_perkeyrgb_hosts
become: true
roles:
- native-msi-perkeyrgb
- name: setup ssh hosts - name: setup ssh hosts
hosts: ssh_hosts hosts: ssh_hosts
become: false become: false
roles: roles:
- native-ssh - native-msi-perkeyrgb
- name: setup swapfile hosts - name: setup swapfile hosts
hosts: swapfile_hosts hosts: swapfile_hosts
become: false become: false

View File

@ -0,0 +1,4 @@
# native-msi-gs66
# further information
- https://github.com/Askannz/msi-perkeyrgb
- https://wiki.archlinux.org/title/MSI_GS66_11UX

View File

@ -0,0 +1,2 @@
dependencies:
- native-aur-helper

View File

@ -0,0 +1,9 @@
- name: Install MSI packages
kewlfft.aur.aur:
use: yay
name:
- msi-perkeyrgb
- name: Change preset of keyboard {{vendor_and_product_id}} to {{preset}}
ansible.builtin.shell: sudo msi-perkeyrgb --model GS65 -p "{{preset}}" --id "{{vendor_and_product_id}}"
become: true