From 2ab7c3c60feda701c8f8ca8184cb828ca235fe7a Mon Sep 17 00:00:00 2001 From: Tipragot Date: Wed, 22 Feb 2023 11:46:18 +0100 Subject: [PATCH] Add keyboard layout to tos-desktop-core --- packages/tos-desktop-core/PKGBUILD | 9 ++++++++- packages/tos-desktop-core/tos-desktop.conf | 8 ++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 packages/tos-desktop-core/tos-desktop.conf diff --git a/packages/tos-desktop-core/PKGBUILD b/packages/tos-desktop-core/PKGBUILD index b93a9fb..e110bac 100644 --- a/packages/tos-desktop-core/PKGBUILD +++ b/packages/tos-desktop-core/PKGBUILD @@ -4,6 +4,13 @@ arch=('any') url='https://git.tipragot.fr/tipragot/tos' license=('MIT') -pkgver='0.1.0' +pkgver='0.1.1' pkgrel='1' 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 +} diff --git a/packages/tos-desktop-core/tos-desktop.conf b/packages/tos-desktop-core/tos-desktop.conf new file mode 100644 index 0000000..8ebbda2 --- /dev/null +++ b/packages/tos-desktop-core/tos-desktop.conf @@ -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