move linux configs to .linux.

This commit is contained in:
Dmitry Voronin 2023-10-30 04:00:01 +03:00
parent 12d31e883c
commit 91d522a551
66 changed files with 8 additions and 10 deletions

View file

@ -1 +1 @@
document/linux/config/bash/bashrc.sh
.linux/bash/bashrc.sh

6
.gitignore vendored
View file

@ -47,10 +47,8 @@
!/app/bin/**
# linux configs
!/document/linux/
/document/linux/*
!/document/linux/config/
!/document/linux/config/**
!/.linux/
!/.linux/**
# system configs
!/.config/

View file

@ -2,7 +2,7 @@
#home="/var/home/voronind"
home="${HOME}"
module="${home}/document/linux/config/bash/module/*.sh"
module="${home}/.linux/bash/module/*.sh"
# src default
if [[ -f /etc/bashrc ]]; then

View file

@ -0,0 +1,2 @@
alias dconf_load="dconf load / < $HOME/.linux/gnome.dconf" # load gnome settings.
alias dconf_save="dconf dump / > $HOME/.linux/_gnome.dconf" # dump gnome settings to a file.

View file

@ -22,8 +22,8 @@ tb()
# initialize container.
toolbox --container "$name" run sudo hostname "${HOSTNAME}-${name}"
toolbox --container "$name" run sudo rm /root/.bashrc
toolbox --container "$name" run sudo ln -s $HOME/document /root/document
toolbox --container "$name" run sudo ln -s $HOME/document/linux/config/bash/bashrc.sh /root/.bashrc
toolbox --container "$name" run sudo ln -s $HOME/.linux /root/.linux
toolbox --container "$name" run sudo ln -s /root/.linux/bash/bashrc.sh /root/.bashrc
# enter container, finally.
toolbox enter "$name"

View file

@ -1,2 +0,0 @@
alias dconf_load="dconf load / < $HOME/document/linux/config/gnome.dconf" # load gnome settings.
alias dconf_save="dconf dump / > $HOME/document/linux/config/_gnome.dconf" # dump gnome settings to a file.