diff --git a/configs/x13s/airootfs/etc/motd b/configs/x13s/airootfs/etc/motd index 0762ab799..953d79ed5 100644 --- a/configs/x13s/airootfs/etc/motd +++ b/configs/x13s/airootfs/etc/motd @@ -8,3 +8,4 @@ Ethernet, WLAN and WWAN interfaces using DHCP should work automatically. After connecting to the internet, run timedatectl set-ntp true, then the installation guide can be accessed via the convenience script Installation_guide. +If you want to use the ironrobin-x13s pacman repo, you may run the convenience script ironrobin-setup. diff --git a/configs/x13s/airootfs/usr/local/bin/ironrobin-setup b/configs/x13s/airootfs/usr/local/bin/ironrobin-setup new file mode 100755 index 000000000..c0a7d012d --- /dev/null +++ b/configs/x13s/airootfs/usr/local/bin/ironrobin-setup @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +echo "Checking for internet connection" +if ! ping -c 1 archlinux.org; then + echo "No internet connection detected. Please connect to the internet and try again." + exit 1 +fi + +echo "Checking for ironrobin-x13s repository in pacman" +if grep -q "\[ironrobin-x13s\]" /etc/pacman.conf; then + echo "ironrobin-x13s repository already in pacman" +else + echo "Adding ironrobin-x13s repository to pacman" + echo -e "\n[ironrobin-x13s]\nServer = https://github.com/ironrobin/x13s-alarm/releases/download/packages\n" >> /etc/pacman.conf +fi + +echo "Checking for ironrobin-x13s gpg keys in pacman" +if pacman-key --list-keys 6ED02751500A833A; then + echo "ironrobin-x13s gpg keys already in pacman" +else + echo "Adding ironrobin-x13s gpg keys to pacman" + pacman-key --recv-keys 6ED02751500A833A --keyserver pgp.mit.edu + pacman-key --lsign-key 6ED02751500A833A +fi + +echo "Updating pacman database" +pacman -Sy diff --git a/configs/x13s/airootfs/usr/local/bin/workman b/configs/x13s/airootfs/usr/local/bin/workman new file mode 100644 index 000000000..1aaa7fc0d --- /dev/null +++ b/configs/x13s/airootfs/usr/local/bin/workman @@ -0,0 +1,9 @@ +#!/usr/bin/env bash + +echo "Adding workman.map to /etc/vconsole.conf" +echo 'KEYMAP=/usr/local/share/keymaps/i386/workman/workman.map' > /etc/vconsole.conf + +echo "Restarting systemd-vconsole-setup.service" +systemctl restart systemd-vconsole-setup.service + +echo "Done!" diff --git a/configs/x13s/airootfs/usr/local/share/keymaps/i386/workman/workman.map b/configs/x13s/airootfs/usr/local/share/keymaps/i386/workman/workman.map new file mode 100644 index 000000000..2415d0cce --- /dev/null +++ b/configs/x13s/airootfs/usr/local/share/keymaps/i386/workman/workman.map @@ -0,0 +1,75 @@ +# workman.kmap for Linux console. +# https://workmanlayout.org +alt_is_meta +charset "iso-8859-15" # use a ISO-8859-15 font, e.g.: consolechars -f lat9v-14 +keymaps 0-12 +include "qwerty-layout" +include "linux-with-alt-and-altgr" +strings as usual + +keycode 41 = grave asciitilde dead_tilde asciitilde nul +keycode 2 = one exclam exclamdown onesuperior +keycode 3 = two at masculine twosuperior nul +keycode 4 = three numbersign ordfeminine threesuperior Escape +keycode 5 = four dollar cent sterling Control_backslash +keycode 6 = five percent euro yen Control_bracketright # EuroSign yen +keycode 7 = six asciicircum asciitilde asciitilde Control_asciicircum # hstroke Hstroke +keycode 8 = seven ampersand eth ETH Control_underscore +keycode 9 = eight asterisk thorn THORN Delete +keycode 10 = nine parenleft asciitilde asciitilde # leftsinglequotemark leftdoublequotemark +keycode 11 = zero parenright asciitilde asciitilde # rightsinglequotemark rightdoublequotemark +keycode 12 = minus underscore asciitilde asciitilde Control_underscore # endash emdash +keycode 13 = equal plus multiply division + +keycode 16 = q Q adiaeresis Adiaeresis Control_q +keycode 17 = d D dead_diaeresis asciitilde Control_d +keycode 18 = r R dead_grave asciitilde Control_r +keycode 19 = w W aring Aring Control_w +keycode 20 = b B asciitilde asciitilde Control_b # dead_breve asciitilde +keycode 21 = j J asciitilde asciitilde Control_j # dstroke Dstroke +keycode 22 = f F atilde Atilde Control_f +keycode 23 = u U uacute Uacute Control_u +keycode 24 = p P oslash Ooblique Control_p +keycode 25 = semicolon colon odiaeresis Odiaeresis +keycode 26 = bracketleft braceleft guillemotleft asciitilde Escape # guillemotleft 0x1002039 +keycode 27 = bracketright braceright guillemotright asciitilde Control_bracketright # guillemotright 0x100203a +keycode 43 = backslash bar asciitilde asciitilde Control_backslash + +keycode 30 = a A aacute Aacute Control_a +keycode 31 = s S ssharp asciitilde Control_s +keycode 32 = h H asciitilde asciitilde Control_h # dead_caron asciitilde +keycode 33 = t T dead_acute asciitilde Control_t # dead_acute dead_doubleacute +keycode 34 = g G asciitilde asciitilde Control_g # dead_ogonek asciitilde +keycode 35 = y Y udiaeresis Udiaeresis Control_y +keycode 36 = n N ntilde Ntilde Control_n +keycode 37 = e E eacute Eacute Control_e +keycode 38 = o O oacute Oacute Control_o +keycode 39 = i I iacute Iacute Control_i +keycode 40 = apostrophe quotedbl otilde Otilde + +keycode 44 = z Z ae AE Control_z +keycode 45 = x X dead_circumflex asciitilde Control_x +keycode 46 = m M asciitilde asciitilde Control_m # dead_macron asciitilde +keycode 47 = c C ccedilla Ccedilla Control_c +keycode 48 = v V oe OE Control_v +keycode 49 = k K asciitilde asciitilde Control_k # dead_abovering asciitilde +keycode 50 = l L asciitilde asciitilde Control_l # lstroke Lstroke +keycode 51 = comma less dead_cedilla asciitilde +keycode 52 = period greater asciitilde asciitilde # dead_abovedot asciitilde +keycode 53 = slash question questiondown asciitilde Delete + +keycode 58 = BackSpace Escape BackSpace BackSpace +keycode 86 = minus underscore asciitilde asciitilde Control_underscore # endash emdash +keycode 57 = space space space nobreakspace nul + + +keycode 1 = Escape +keycode 14 = Delete +keycode 15 = Tab +keycode 28 = Return + alt keycode 28 = Meta_Control_m +keycode 29 = Control +keycode 42 = Shift +keycode 54 = Shift +keycode 56 = Alt +keycode 97 = Control diff --git a/configs/x13s/pacman.conf b/configs/x13s/pacman.conf index ffd0bfd89..6e04fb503 100644 --- a/configs/x13s/pacman.conf +++ b/configs/x13s/pacman.conf @@ -76,9 +76,6 @@ Include = /etc/pacman.d/mirrorlist [extra] Include = /etc/pacman.d/mirrorlist -[community] -Include = /etc/pacman.d/mirrorlist - [alarm] Include = /etc/pacman.d/mirrorlist diff --git a/configs/x13s/profiledef.sh b/configs/x13s/profiledef.sh index 3328d1a77..02db9936b 100644 --- a/configs/x13s/profiledef.sh +++ b/configs/x13s/profiledef.sh @@ -21,4 +21,6 @@ file_permissions=( ["/usr/local/bin/choose-mirror"]="0:0:755" ["/usr/local/bin/Installation_guide"]="0:0:755" ["/usr/local/bin/livecd-sound"]="0:0:755" + ["/usr/local/bin/ironrobin-setup"]="0:0:755" + ["/usr/local/bin/workman"]="0:0:755" )