Added keyboard mapping tweaks, and pacman hook to update the hwdb on upgrade
This commit is contained in:
parent
fc60780f46
commit
9018f5d22f
|
@ -0,0 +1,3 @@
|
||||||
|
evdev:input:b0003v258Ap1006*
|
||||||
|
KEYBOARD_KEY_70065=rightmeta
|
||||||
|
KEYBOARD_KEY_70039=esc
|
|
@ -23,12 +23,18 @@ provides=()
|
||||||
conflicts=()
|
conflicts=()
|
||||||
replaces=()
|
replaces=()
|
||||||
backup=()
|
backup=()
|
||||||
source=('mirrorupgrade.hook')
|
source=('mirrorupgrade.hook'
|
||||||
md5sums=('7d00b26f9bc60d0985ffa6bc8bd4da80')
|
'61-tl-keyboard.hwdb'
|
||||||
|
'tl-keyboard.hook')
|
||||||
|
md5sums=('7d00b26f9bc60d0985ffa6bc8bd4da80'
|
||||||
|
'564cafe47884aac23360017d54c60512'
|
||||||
|
'aa5d2d2a9f863164a3b529bd6329bf49')
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
# Whenever pacman-mirrorlist is updated,
|
# Whenever pacman-mirrorlist is updated,
|
||||||
# replace the mirrorlist with the result from
|
# replace the mirrorlist with the result from
|
||||||
# reflector, and cleans up the lingering .pacnew
|
# reflector, and cleans up the lingering .pacnew
|
||||||
install -D -o root -m 644 mirrorupgrade.hook ${pkgdiir}/etc/pacman.d/hooks/mirrorupgrade.hook
|
install -D -o root -m 644 mirrorupgrade.hook ${pkgdiir}/etc/pacman.d/hooks/mirrorupgrade.hook
|
||||||
|
install -D -o root -m 644 tl-keyboard.hook ${pkgdiir}/etc/pacman.d/hooks/tl-keyboard.hook
|
||||||
|
install -D -o root -m 644 61-tl-keyboard.hwdb ${pkgdiir}/etc/udev/hwdb.d/61-tl-keyboard.hwdb
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Trigger]
|
||||||
|
Operation = Install
|
||||||
|
Operation = Upgrade
|
||||||
|
Type = File
|
||||||
|
Target = /etc/udev/hwdb.d/61-tl-keyboard.hwdb
|
||||||
|
|
||||||
|
[Action]
|
||||||
|
Description = Updating hwdb after tlconfig-env updated keyboard config...
|
||||||
|
When = PostTransaction
|
||||||
|
Depends = reflector
|
||||||
|
Exec = /usr/bin/env sh -c "systemd-hwdb update && udevadm trigger"
|
Loading…
Reference in New Issue