23 lines
No EOL
525 B
Bash
23 lines
No EOL
525 B
Bash
#!/bin/bash
|
|
#
|
|
# Author: Severin Kaderli <severin.kaderli@gmail.com>
|
|
# We just source .bashrc so we don't need to manage two files.
|
|
if [[ -f "${HOME}/.bashrc" ]]; then
|
|
. "${HOME}/.bashrc"
|
|
fi
|
|
|
|
# Setting keyboard colors
|
|
if [[ -f "${HOME}/.keyleds" ]]; then
|
|
. "${HOME}/.keyleds"
|
|
fi
|
|
|
|
# Restore custom dconf configuration
|
|
dconf load / < "${HOME}/dconf/root.conf"
|
|
|
|
# Activate correct crontab file
|
|
crontab "${HOME}/.crontab"
|
|
|
|
# If we are on tty1 we start the x-server
|
|
if [ "$(tty)" = "/dev/tty1" ]; then
|
|
startx && exit
|
|
fi |