Added x-locking

master
mandlm 2021-03-04 13:28:46 +01:00
parent 0f22824d2b
commit 4b8eb194a9
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 14 additions and 12 deletions

View File

@ -1,8 +1,8 @@
---
- name: install packages
package:
name: "{{ item }}"
state: latest
name: "{{ item }}"
state: latest
loop:
- xorg
- xorg-server
@ -13,24 +13,26 @@
- sddm
- i3-wm
- i3status
- xautolock
- i3lock
- dmenu
- alacritty
- name: configure sddm
ini_file:
path: /etc/sddm.conf.d/uid.conf
section: Users
option: HideShells
value: /usr/bin/nologin,/sbin/nologin,/bin/false
mode: 0644
create: yes
path: /etc/sddm.conf.d/uid.conf
section: Users
option: HideShells
value: /usr/bin/nologin,/sbin/nologin,/bin/false
mode: 0644
create: yes
- name: activate display manager
systemd:
name: sddm
enabled: yes
name: sddm
enabled: yes
- name: set keyboard layout
command:
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
creates: /etc/X11/xorg.conf.d/00-keyboard.conf
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
creates: /etc/X11/xorg.conf.d/00-keyboard.conf