diff --git a/dotfiles/htown.png b/dotfiles/htown.png new file mode 100644 index 0000000..02bfd38 Binary files /dev/null and b/dotfiles/htown.png differ diff --git a/dotfiles/slck-greeter.conf b/dotfiles/slck-greeter.conf new file mode 100644 index 0000000..5239144 --- /dev/null +++ b/dotfiles/slck-greeter.conf @@ -0,0 +1,11 @@ +[Greeter] +background=/etc/lightdm/htown.png +background-color=#000000 +show-hostname=true +show-power=true +show-a11y=true +show-clock=true +#logo= +group-filter= +[SeatDefaults] +session-setup-script=/opt/hdos/scripts/restore-home diff --git a/scripts/install.sh b/scripts/install.sh index a47291e..19eff3c 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -28,3 +28,6 @@ sudo -u hacdc gpg --list-keys cp ${HDOS_ROOT}/dotfiles/zshrc /root/.zshrc cp ${HDOS_ROOT}/dotfiles/zshrc /home/hacdc/.zshrc chown hacdc:hacdc /home/hacdc/.zshrc + +cp ${HDOS_ROOT}/dotfiles/slick-greeter.conf /etc/lightdm/ +cp ${HDOS_ROOT}/dotfiles/htown.png /etc/lightdm/ diff --git a/scripts/restore-home b/scripts/restore-home new file mode 100644 index 0000000..f097628 --- /dev/null +++ b/scripts/restore-home @@ -0,0 +1,3 @@ +tar -xf /opt/home.tar -C / +chown -R hacdc:hacdc /home/hacdc +chown -R hacdc:hacdc /home/hacdc/.* diff --git a/scripts/save-home b/scripts/save-home new file mode 100644 index 0000000..44eb048 --- /dev/null +++ b/scripts/save-home @@ -0,0 +1 @@ +tar -cvpzf /opt/home.tgz /home/hacdc