differentiented power button behavior

This commit is contained in:
2024-11-10 14:30:21 +01:00
parent 6df29c1713
commit 3b19900147
3 changed files with 20 additions and 15 deletions

View File

@@ -57,6 +57,11 @@
with_items:
- { name: sway-gridlock, path: ~/.config/sway/device-conf }
become: no
- name: Set power button behavior
lineinfile:
line: "HandlePowerKey=poweroff"
path: "/etc/systemd/logind.conf"
regexp: '.*HandlePowerKey.*'
- name: install amd drivers and firmware
apt:
name: