add dvorak role

This commit is contained in:
Brett Eisenberg 2018-02-06 14:42:30 -08:00
parent 9c5a0b3169
commit 19bf105fd1
5 changed files with 21 additions and 0 deletions

View file

@ -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"

View 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

Binary file not shown.

View file

@ -0,0 +1 @@
KEYMAP=dvorak-cc

View 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