Make backlight work
This commit is contained in:
@@ -145,7 +145,7 @@ packages:
|
||||
black:
|
||||
archlinux: ["python-black"]
|
||||
xbacklight:
|
||||
archlinux: ["xorg-xbacklight"]
|
||||
archlinux: ["acpilight"]
|
||||
wireshark:
|
||||
archlinux: ["wireshark-cli", "wireshark-qt"]
|
||||
nmap:
|
||||
|
||||
15
playbook.yml
15
playbook.yml
@@ -661,6 +661,21 @@
|
||||
state: absent
|
||||
become: true
|
||||
|
||||
- name: backlight configuration
|
||||
tags:
|
||||
- backlight
|
||||
block:
|
||||
# See https://wiki.archlinux.org/title/backlight#ACPI
|
||||
- name: create udev rule to allow video group backlight access
|
||||
copy:
|
||||
dest: /etc/udev/rules.d/backlight.rules
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
content: |
|
||||
ACTION=="add", SUBSYSTEM=="backlight", RUN+="/bin/chgrp video $sys$devpath/brightness", RUN+="/bin/chmod g+w $sys$devpath/brightness"
|
||||
become: true
|
||||
|
||||
- include_tasks: user.yml
|
||||
args:
|
||||
apply:
|
||||
|
||||
Reference in New Issue
Block a user