diff --git a/post_install.sh b/profile/post_install.sh similarity index 92% rename from post_install.sh rename to profile/post_install.sh index 1a9fa92..6b4889a 100755 --- a/post_install.sh +++ b/profile/post_install.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -#printf "[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=kiosk\n\n[security]\n\n[xdmcp]\n\n[chooser]\n\n[debug]\n" > /etc/gdm3/daemon.conf +printf "[daemon]\nAutomaticLoginEnable=true\nAutomaticLogin=kiosk\n\n[security]\n\n[xdmcp]\n\n[chooser]\n\n[debug]\n" > /etc/gdm3/daemon.conf mkdir -p /usr/lib/firefox-esr/distribution tee /usr/lib/firefox-esr/distribution/policies.json > /dev/null <<'EOF' diff --git a/preseed.cfg b/profile/preseed.cfg similarity index 100% rename from preseed.cfg rename to profile/preseed.cfg diff --git a/tampermonkey/backtohome.js b/profile/tampermonkey/backtohome.js similarity index 100% rename from tampermonkey/backtohome.js rename to profile/tampermonkey/backtohome.js diff --git a/tampermonkey/hvv.js b/profile/tampermonkey/hvv.js similarity index 100% rename from tampermonkey/hvv.js rename to profile/tampermonkey/hvv.js diff --git a/tampermonkey/mastodon.js b/profile/tampermonkey/mastodon.js similarity index 100% rename from tampermonkey/mastodon.js rename to profile/tampermonkey/mastodon.js diff --git a/setup.sh b/setup.sh index 3a1e0e0..50213a9 100755 --- a/setup.sh +++ b/setup.sh @@ -1,7 +1,6 @@ -#!/bin/sh -apt install greetd sway && \ +#!/usr/bin/env bash +apt install gdm3 greetd sway && \ cp -r desktop/kiosk-setting/ /etc/ && \ cp config.toml /etc/greetd/config.toml && \ -systemctl enable greetd && \ -./post_install.sh - +systemctl enable gdm3 && \ # greetd if gdm3 is buggy +./profile/post_install.sh