Only reload udev if we assigned new rules
Having my mouse flip out at midnight was getting old
This commit is contained in:
parent
f285096a5c
commit
7753453caa
@ -25,9 +25,16 @@
|
||||
loop:
|
||||
- { src: "hosts", dest: "/etc/hosts", mode: "0644" }
|
||||
- { src: "nomouseaccel.conf", dest: "/etc/X11/xorg.conf.d/90-mouse-acceleration.conf", mode: "0644" }
|
||||
- { src: "i3.desktop", dest: "/usr/share/xsessions/i3-custom.desktop", mode: "0644" }
|
||||
- name: Copy udev rules
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: "{{ item.mode }}"
|
||||
loop:
|
||||
- { src: "g810-led.rules", dest: "/etc/udev/rules.d/50-g810-led.rules", mode: "0644" }
|
||||
- { src: "switch-rcm.rules", dest: "/etc/udev/rules.d/50-switch-rcm.rules", mode: "0644" }
|
||||
- { src: "i3.desktop", dest: "/usr/share/xsessions/i3-custom.desktop", mode: "0644" }
|
||||
notify: reload udev
|
||||
- name: Reload udev
|
||||
command: /usr/bin/udevadm trigger
|
||||
- name: Enable i386 architecture
|
||||
|
Loading…
Reference in New Issue
Block a user