archlive-zfs/airootfs/etc/pacman.d/hooks/50-xorg-xinit.hook

13 lines
297 B
Plaintext

# remove from airootfs!
[Trigger]
Operation = Install
Type = Package
Target = xorg-xinit
[Action]
Description = Add instructions for startx
When = PostTransaction
Depends = xorg-xinit
Depends = sh
Exec = /bin/sh -c 'echo -e \\nTo start GUI, type \\033\[0\;35mstartx\\033\[0\;0m.\\n >> /etc/motd'