From a1b887540bdcc6db63e22e32dd6f403be9053c60 Mon Sep 17 00:00:00 2001 From: Sergey Morozov Date: Wed, 27 Apr 2022 23:41:05 +0300 Subject: [PATCH] Keyboard configuration --- airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook diff --git a/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook b/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook new file mode 100644 index 0000000..59cbadf --- /dev/null +++ b/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook @@ -0,0 +1,13 @@ +# remove from airootfs! +[Trigger] +Operation = Install +Type = Package +Target = xorg-xinit + +[Action] +Description = Add instructions for startx +When = PostTransaction +Depends = xorg-xinit +Depends = sed +Depends = sh +Exec = /bin/sh -c "echo -e \\nTo start GUI, type startx.\\n >> /etc/motd"