AutoYADM commit: 2025-07-23 16:48:40
This commit is contained in:
parent
c3c44f232c
commit
9d9a70e1d8
3 changed files with 96 additions and 0 deletions
14
.config/keyd/apply-conf.sh
Executable file
14
.config/keyd/apply-conf.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# this script updates the system keyd config with what's included
|
||||||
|
# in this directory
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
sudo -v
|
||||||
|
|
||||||
|
# get directory of script
|
||||||
|
dir=$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd)
|
||||||
|
sysdir='/etc/keyd'
|
||||||
|
[ -f "$sysdir/default.conf" ] && sudo cp -f "$dir/default.conf" "$sysdir/default.conf"
|
||||||
|
sudo keyd reload
|
81
.config/keyd/default.conf
Normal file
81
.config/keyd/default.conf
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
## this is a keyd colemak-dh config based on my custom corne layout
|
||||||
|
## i use it on my thinkpad internal keyboard _only_
|
||||||
|
## because keyd is a system daemon, these binds affect the entire system, including
|
||||||
|
## login screen and TTY
|
||||||
|
|
||||||
|
[global]
|
||||||
|
# overload_tap_timeout = 500
|
||||||
|
layer_indicator = 1
|
||||||
|
oneshot_timeout = 500
|
||||||
|
[ids]
|
||||||
|
|
||||||
|
# apply to thinkpad internal keyboard only
|
||||||
|
0001:0001:a38e6885
|
||||||
|
0001:0001:70533846
|
||||||
|
|
||||||
|
[main]
|
||||||
|
|
||||||
|
space = lettermod(control, space, 150, 200)
|
||||||
|
capslock = backspace
|
||||||
|
shift = oneshot(shift)
|
||||||
|
rightalt = layer(symbol)
|
||||||
|
|
||||||
|
# colemak-dh
|
||||||
|
q=q
|
||||||
|
w=w
|
||||||
|
e=f
|
||||||
|
r=p
|
||||||
|
t=b
|
||||||
|
y=j
|
||||||
|
u=l
|
||||||
|
i=u
|
||||||
|
o=y
|
||||||
|
p=;
|
||||||
|
a=a
|
||||||
|
s=r
|
||||||
|
d=s
|
||||||
|
f=t
|
||||||
|
g=g
|
||||||
|
h=m
|
||||||
|
j=n
|
||||||
|
k=e
|
||||||
|
l=i
|
||||||
|
;=o
|
||||||
|
z=x
|
||||||
|
x=c
|
||||||
|
c=d
|
||||||
|
v=v
|
||||||
|
b=z
|
||||||
|
n=k
|
||||||
|
m=h
|
||||||
|
|
||||||
|
|
||||||
|
# symbol layer
|
||||||
|
[symbol]
|
||||||
|
a=^
|
||||||
|
s=-
|
||||||
|
d={
|
||||||
|
f=}
|
||||||
|
g=~
|
||||||
|
h=left
|
||||||
|
j=down
|
||||||
|
k=up
|
||||||
|
l=right
|
||||||
|
;=$
|
||||||
|
'=|
|
||||||
|
q=@
|
||||||
|
w=!
|
||||||
|
e=(
|
||||||
|
r=)
|
||||||
|
u=&
|
||||||
|
i=*
|
||||||
|
o==
|
||||||
|
p=:
|
||||||
|
x=[
|
||||||
|
c=]
|
||||||
|
v=%
|
||||||
|
m=#
|
||||||
|
,=grave
|
||||||
|
.=+
|
||||||
|
/=\
|
||||||
|
|
|
@ -78,3 +78,4 @@
|
||||||
.config/task
|
.config/task
|
||||||
.config/yadm/encrypt
|
.config/yadm/encrypt
|
||||||
.local/share/yadm/archive
|
.local/share/yadm/archive
|
||||||
|
.config/keyd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue