mirror of
https://github.com/pigmonkey/spark.git
synced 2026-07-30 19:21:56 +00:00
add dvorak role
This commit is contained in:
parent
9c5a0b3169
commit
19bf105fd1
5 changed files with 21 additions and 0 deletions
|
|
@ -71,6 +71,7 @@
|
|||
- { role: hostsctl, tags: ['hostsctl'], when: "hostsctl is defined" }
|
||||
- { role: himawaripy, tags: ['himawaripy'], when: "himawaripy is defined" }
|
||||
- { role: kiwix, tags: ['kiwix'] }
|
||||
- { role: dvorak, tags: ['dvorak'] }
|
||||
vars_prompt:
|
||||
- name: user_password
|
||||
prompt: "Enter desired user password"
|
||||
|
|
|
|||
9
roles/dvorak/files/40-libinput.conf
Normal file
9
roles/dvorak/files/40-libinput.conf
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Section "InputClass"
|
||||
Identifier "libinput keyboard catchall"
|
||||
MatchIsKeyboard "on"
|
||||
MatchDevicePath "/dev/input/event*"
|
||||
Driver "libinput"
|
||||
Option "XkbLayout" "us"
|
||||
Option "XkbVariant" "dvorak"
|
||||
Option "XkbOptions" "ctrl:nocaps"
|
||||
EndSection
|
||||
BIN
roles/dvorak/files/dvorak-cc.map.gz
Normal file
BIN
roles/dvorak/files/dvorak-cc.map.gz
Normal file
Binary file not shown.
1
roles/dvorak/files/vconsole.conf
Normal file
1
roles/dvorak/files/vconsole.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
KEYMAP=dvorak-cc
|
||||
10
roles/dvorak/tasks/main.yml
Normal file
10
roles/dvorak/tasks/main.yml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
- name: Enable dvorak for XOrg libinput
|
||||
copy: src=40-libinput.conf dest=/etc/X11/xorg.conf.d/40-libinput.conf
|
||||
|
||||
- name: Add control-caps dvorak keymap
|
||||
copy: src=dvorak-cc.map.gz .conf dest=/usr/share/kbd/keymaps/i386/dvorak-cc.map.gz
|
||||
|
||||
- name: Enable dvorak-cc for vconsole
|
||||
copy: src=vconsole.conf dest=/etc/vconsole.conf
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue