Optimized persona gamer, gnome, and refactored others

This commit is contained in:
2025-04-02 15:09:56 +02:00
parent 30b138ffa3
commit b98f032141
39 changed files with 373 additions and 100 deletions

View File

@@ -0,0 +1,3 @@
https://chatgpt.com/share/67ed14d0-4220-800f-a592-82513553fb97
https://chatgpt.com/share/67ed1520-8a54-800f-98a5-12372413994a
https://chatgpt.com/share/67ed158b-66d4-800f-b418-e52460c225ce

View File

@@ -0,0 +1,6 @@
---
- name: Restart systemd-logind
become: yes
systemd:
name: systemd-logind
state: restarted

View File

@@ -0,0 +1,9 @@
---
- name: Set HandleLidSwitch to hibernate in /etc/systemd/logind.conf
become: yes
lineinfile:
path: /etc/systemd/logind.conf
regexp: '^#?HandleLidSwitch='
line: 'HandleLidSwitch=hibernate'
backup: yes
notify: Restart systemd-logind