Home management

This commit is contained in:
Liz Cray 2024-12-13 22:28:58 -05:00
parent a5b13b5650
commit 26cb36da1b
5 changed files with 18 additions and 0 deletions

BIN
dotfiles/htown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

@ -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

View File

@ -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/

3
scripts/restore-home Normal file
View File

@ -0,0 +1,3 @@
tar -xf /opt/home.tar -C /
chown -R hacdc:hacdc /home/hacdc
chown -R hacdc:hacdc /home/hacdc/.*

1
scripts/save-home Normal file
View File

@ -0,0 +1 @@
tar -cvpzf /opt/home.tgz /home/hacdc