From 28f21757b8c4c8e2647c2909001dae2f8ea0e694 Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:25:48 +0800 Subject: Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 97c7194..7a1fb44 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@

Utility to generate keyd configurations for use on Chromebooks

+>[!WARNING] +> This script is under construction and may be ready later. # Instructions 1. git clone https://github.com/WeirdTreeThing/cros-keyboard-map -- cgit 1.4.1-2-gfad0 From e68322cee9204765402e3afecf9ec2b1619ba08e Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Tue, 21 Jan 2025 20:26:45 +0800 Subject: Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7a1fb44..4b92a8a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@

Utility to generate keyd configurations for use on Chromebooks

->[!WARNING] + +> [!WARNING] > This script is under construction and may be ready later. # Instructions -- cgit 1.4.1-2-gfad0 From 426e7e73134aeb5beb08fbe6c0d93bcb8cbca4a0 Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 21:27:51 +0800 Subject: Update install.sh | added Void Linux Support --- install.sh | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8dab367..7f6c266 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -e -# alpine, arch, and suse have packages +# void, alpine, arch, and suse have packages # need to build on fedora (without terra) and debian/ubuntu ROOT=$(pwd) @@ -20,6 +20,8 @@ elif [ -f /usr/bin/dnf4 ]; then distro="fedora" elif [ -f /sbin/apk ]; then distro="alpine" +elif [ -f /bin/xbps-install ]; then + distro="void" elif grep 'ID=nixos' /etc/os-release; then echo "NixOS is not supported by this script." echo "Bailing out..." @@ -60,6 +62,9 @@ if ! [ -f /usr/bin/keyd ]; then alpine) $privesc apk add --no-interactive keyd &>> pkg.log ;; + void) + $privesc xbps-install -S keyd -y &>> pkg.log + ;; *) if [ "$FEDORA_HAS_KEYD" = "1" ]; then $privesc dnf4 install -y keyd &>> pkg.log @@ -110,6 +115,17 @@ case $distro in $privesc rc-service keyd restart fi ;; + void) + if [ -f /usr/bin/sv ]; then + $privesc ln -s /etc/sv/keyd /var/service + $privesc sv enable keyd + $privesc sv start keyd + else + echo "This script can only be used for Void Linux using 'runit' init system. Other init system on Void Linux are currently unsupported." + echo "I'M OUTTA HERE!" + exit 1 + fi + ;; *) $privesc systemctl enable keyd $privesc systemctl restart keyd -- cgit 1.4.1-2-gfad0 From e63c2f269a7eb2142ec44b6210957b412ac64a8e Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 21:33:41 +0800 Subject: Update README.md | Created List and Added void linux --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b92a8a..fa4d3c8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,15 @@

Utility to generate keyd configurations for use on Chromebooks

-> [!WARNING] -> This script is under construction and may be ready later. +## List of supported distrobutions +- Ubuntu +- Debian +- Fedora +- Arch Linux +- Alpine +- openSUSE +- Void Linux -# Instructions +### Instructions 1. git clone https://github.com/WeirdTreeThing/cros-keyboard-map 2. cd cros-keyboard-map 3. ./install.sh -- cgit 1.4.1-2-gfad0 From bb58d0cfdbea7acd2203aa1a09ed440ad5245ba8 Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 21:44:18 +0800 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa4d3c8..d0aa05f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

Utility to generate keyd configurations for use on Chromebooks

-## List of supported distrobutions +## List of supported distributions - Ubuntu - Debian - Fedora -- cgit 1.4.1-2-gfad0 From 8aba5664d5e7c06756e647456f34b19d00a0a1a1 Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 21:49:14 +0800 Subject: Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d0aa05f..e6a285d 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@

Utility to generate keyd configurations for use on Chromebooks

## List of supported distributions -- Ubuntu +- Alpine +- Arch Linux - Debian - Fedora -- Arch Linux -- Alpine - openSUSE +- Ubuntu - Void Linux ### Instructions -- cgit 1.4.1-2-gfad0 From af1ea9a227e0d8abec962b4d1aea6ded820ad21c Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:10:49 +0800 Subject: Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e6a285d..5b8b666 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ ## List of supported distributions - Alpine - Arch Linux +- ChimeraOS - Debian - Fedora - openSUSE -- cgit 1.4.1-2-gfad0 From 0ed046a5ae37f109c620f0492fbf4ffd24abf7d3 Mon Sep 17 00:00:00 2001 From: TERMZL0ckd0wn <128064869+TERMZL0ckd0wn@users.noreply.github.com> Date: Wed, 22 Jan 2025 22:13:58 +0800 Subject: Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b8b666..6061e97 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ ## List of supported distributions - Alpine - Arch Linux -- ChimeraOS +- Chimera Linux - Debian - Fedora - openSUSE -- cgit 1.4.1-2-gfad0