Move even more files to .config
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
parent
e0e3ad0135
commit
005c4f29b6
11 changed files with 26 additions and 56 deletions
|
@ -15,17 +15,17 @@ if [[ -f "${HOME}/.bashrc" ]]; then
|
|||
. "${HOME}/.bashrc"
|
||||
fi
|
||||
|
||||
if [[ -f "${HOME}/.keyleds" ]]; then
|
||||
. "${HOME}/.keyleds"
|
||||
if [[ -f "${XDG_CONFIG_HOME}/custom/keyleds" ]]; then
|
||||
. "${XDG_CONFIG_HOME}/custom/keyleds"
|
||||
fi
|
||||
|
||||
# Restore custom dconf configuration
|
||||
dconf load / < "${HOME}/.config/dconf/root.conf"
|
||||
dconf load / < "${XDG_CONFIG_HOME}/dconf/root.conf"
|
||||
|
||||
# Activate correct crontab file
|
||||
crontab "${XDG_CONFIG_HOME}/cron/crontab"
|
||||
|
||||
# If we are on tty1 we start the x-server
|
||||
if [ "$(tty)" = "/dev/tty1" ]; then
|
||||
startx && exit
|
||||
startx "${XDG_CONFIG_HOME}/X11/xinitrc" && exit
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue