Add keyboard layout to tos-desktop-core

This commit is contained in:
Tipragot 2023-02-22 11:46:18 +01:00
parent 96d2b3a0f0
commit 2ab7c3c60f
2 changed files with 16 additions and 1 deletions

View file

@ -4,6 +4,13 @@ arch=('any')
url='https://git.tipragot.fr/tipragot/tos' url='https://git.tipragot.fr/tipragot/tos'
license=('MIT') license=('MIT')
pkgver='0.1.0' pkgver='0.1.1'
pkgrel='1' pkgrel='1'
depends=('tos-core' 'xorg-server' 'tos-fonts') depends=('tos-core' 'xorg-server' 'tos-fonts')
source=('tos-desktop.conf')
cksums=('835692063')
package() {
mkdir -p ${pkgdir}/etc/X11/xorg.conf.d
cp ${srcdir}/tos-desktop.conf ${pkgdir}/etc/X11/xorg.conf.d/tos-desktop.conf
}

View file

@ -0,0 +1,8 @@
# TOS Keyboard configuration
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbVariant" "colemak_dh"
Option "XkbOptions" "caps:backspace"
EndSection