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"