diff --git a/post_install.sh b/post_install.sh index 4ff2943..b721751 100644 --- a/post_install.sh +++ b/post_install.sh @@ -71,4 +71,10 @@ Environment=DISPLAY=:0 [Install] WantedBy=graphical.target EOF -systemctl enable firefox-kiosk.service \ No newline at end of file +systemctl enable firefox-kiosk.service + +tee /home/kiosk/.bash_profile > /dev/null <<'EOF' +if [ -z "$WAYLAND_DISPLAY" ] && [ "$(tty)" = "/dev/tty1" ]; then + exec sway +fi +EOF \ No newline at end of file diff --git a/preseed.cfg b/preseed.cfg index 7518b53..b934651 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -51,6 +51,8 @@ d-i pkgsel/include string \ openbox \ chromium \ sudo \ + cage \ + firefox-esr \ curl d-i pkgsel/exclude string gnome-software