diff options
author | WeirdTreeThing <bradyn127@protonmail.com> | 2024-04-10 17:58:03 -0400 |
---|---|---|
committer | WeirdTreeThing <bradyn127@protonmail.com> | 2024-04-10 17:58:03 -0400 |
commit | 9921aa8be6a40ffc483f06829b0ae3174764b50c (patch) | |
tree | 08292d6d90d463625d74691161e0a7a869becaa7 | |
parent | 627a0621cc8a62a06d4566506fac7772101247d1 (diff) |
Add special case for Sarien and Arcada
-rw-r--r-- | configs/cros-sarien.conf | 39 | ||||
-rwxr-xr-x | install.sh | 3 |
2 files changed, 42 insertions, 0 deletions
diff --git a/configs/cros-sarien.conf b/configs/cros-sarien.conf new file mode 100644 index 0000000..521faf0 --- /dev/null +++ b/configs/cros-sarien.conf @@ -0,0 +1,39 @@ +# Config for Sarien and its variant, Arcada +[ids] +# AT keyboard is device 0001:0001 +0001:0001 + +[main] +back = back +refresh = refresh +zoom = f11 +scale = scale +print = print +camera = brightnessdown +prog1 = brightnessup +mute = mute +volumedown = volumedown +volumeup = volumeup +sleep = coffee + +[meta] +back = f1 +refresh = f2 +zoom = f3 +scale = f4 +camera = f5 +prog1 = f6 +mute = f7 +volumedown = f8 +volumeup = f9 +switchvideomode = f12 + + +[alt] +backspace = delete +meta = capslock +camera = kbdillumdown +prog1 = kbdillumup + +[control+alt] +backspace = C-A-delete diff --git a/install.sh b/install.sh index 3a7bf69..ff79949 100755 --- a/install.sh +++ b/install.sh @@ -73,6 +73,9 @@ echo "Generating config" if (grep -E "^(Nocturne|Atlas|Eve)$" /sys/class/dmi/id/product_name &> /dev/null) then cp configs/cros-pixel.conf cros.conf +elif (grep -E "^(Sarien|Arcada)$" /sys/class/dmi/id/product_name &> /dev/null) +then + cp configs/cros-sarien.conf cros.conf else printf "By default, the top row keys will do their special function (brightness, volume, browser control, etc).\n" printf "Holding the search key will make the top row keys act like fn keys (f1, f2, f3, etc).\n" |