20 lines
No EOL
426 B
Bash
20 lines
No EOL
426 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
|
|
|
|
# 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 |