--- /dev/null
+include /etc/sway/config
+output * background #551199 solid_color
+bindsym $mod+Shift+p exec swaynag -t warning -m 'Really exit sway/end Wayland session?' -B 'Yes, exit sway' 'swaymsg exit'
done
apt -y --purge autoremove
+# just in case anything got overwritten …
+for root in "${PATH_MANY}" '..'; do
+ copy_dirtree "${root}${PATH_REL_ETC}" '/etc' all raspi
+done
+
# Ensure our desired locale is available.
locale-gen
done
adduser --disabled-password --gecos "" "${USERNAME}"
usermod -a -G sudo "${USERNAME}"
+for root in "${PATH_MANY}" '..'; do
+ copy_dirtree "${root}${PATH_REL_HOME}" "${PATH_USER_HOME}" all user
+done
cp -a "${PATH_REPO}" "${PATH_USER_HOME}"
mkdir "${PATH_USER_SSH}"
cp "${PATH_AUTHORIZED_KEYS}" "${PATH_USER_SSH}"
-for path in "${PATH_USER_HOME}${PATH_REL_REPO}" "${PATH_USER_SSH}"; do
- chown -R "${USERNAME}:${USERNAME}" "${path}"
-done
+chown -R "${PATH_USER_HOME}"
passwd "${USERNAME}"
rm "${PATH_AUTHORIZED_KEYS}"
+
+# # let us boot into Sway
+# systemctl greetd enable