Added x-locking
This commit is contained in:
parent
0f22824d2b
commit
4b8eb194a9
1 changed files with 14 additions and 12 deletions
|
@ -1,8 +1,8 @@
|
||||||
---
|
---
|
||||||
- name: install packages
|
- name: install packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: latest
|
state: latest
|
||||||
loop:
|
loop:
|
||||||
- xorg
|
- xorg
|
||||||
- xorg-server
|
- xorg-server
|
||||||
|
@ -13,24 +13,26 @@
|
||||||
- sddm
|
- sddm
|
||||||
- i3-wm
|
- i3-wm
|
||||||
- i3status
|
- i3status
|
||||||
|
- xautolock
|
||||||
|
- i3lock
|
||||||
- dmenu
|
- dmenu
|
||||||
- alacritty
|
- alacritty
|
||||||
|
|
||||||
- name: configure sddm
|
- name: configure sddm
|
||||||
ini_file:
|
ini_file:
|
||||||
path: /etc/sddm.conf.d/uid.conf
|
path: /etc/sddm.conf.d/uid.conf
|
||||||
section: Users
|
section: Users
|
||||||
option: HideShells
|
option: HideShells
|
||||||
value: /usr/bin/nologin,/sbin/nologin,/bin/false
|
value: /usr/bin/nologin,/sbin/nologin,/bin/false
|
||||||
mode: 0644
|
mode: 0644
|
||||||
create: yes
|
create: yes
|
||||||
|
|
||||||
- name: activate display manager
|
- name: activate display manager
|
||||||
systemd:
|
systemd:
|
||||||
name: sddm
|
name: sddm
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: set keyboard layout
|
- name: set keyboard layout
|
||||||
command:
|
command:
|
||||||
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
|
cmd: localectl --no-convert set-x11-keymap de pc105 nodeadkeys
|
||||||
creates: /etc/X11/xorg.conf.d/00-keyboard.conf
|
creates: /etc/X11/xorg.conf.d/00-keyboard.conf
|
||||||
|
|
Loading…
Reference in a new issue