Home management
This commit is contained in:
parent
a5b13b5650
commit
26cb36da1b
BIN
dotfiles/htown.png
Normal file
BIN
dotfiles/htown.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 MiB |
11
dotfiles/slck-greeter.conf
Normal file
11
dotfiles/slck-greeter.conf
Normal 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
|
@ -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
3
scripts/restore-home
Normal 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
1
scripts/save-home
Normal file
@ -0,0 +1 @@
|
||||
tar -cvpzf /opt/home.tgz /home/hacdc
|
Loading…
Reference in New Issue
Block a user