Rename crontab to .crontab and activate it in .bash_profile

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2016-09-18 11:11:56 +02:00
parent 9780375c30
commit 53bb4c8c79
6 changed files with 9 additions and 8 deletions

View file

@ -8,6 +8,9 @@ if [[ $- == *i* && -f $HOME/.bashrc ]]; then
. $HOME/.bashrc
fi
# Activate correct crontab file
crontab -u severin $HOME/.crontab
# If we are on tty1 we start the x-server
if [ "$(tty)" = "/dev/tty1" ]; then
startx && exit

View file

@ -228,7 +228,3 @@ assign [class="Audacious"] $workspace10
# Disable window titlebars
for_window [class="^.*"] border pixel 0
# Gaps
gaps inner 10
gaps outer 10

View file

View file

@ -13,7 +13,7 @@
a = add --all
# Create a commit and sign it off
c = commit -s -m
c = commit -s
# Push to the master branch of the origin remote
p = push origin master
@ -24,3 +24,5 @@
[color]
# Activate color use in git commands
ui = auto
[core]
editor = vim

View file

@ -17,4 +17,4 @@ else
resolution="$2"
fi
livestreamer "twitch.tv/$1" "$resolution"
livestreamer --http-header Client-ID=ewvlchtxgqq88ru9gmfp1gmyt6h2b93 "twitch.tv/$1" "$resolution"

View file

@ -27,5 +27,5 @@ php composer-setup.php
php -r "unlink('composer-setup.php');"
mv "$DIR/composer.phar" "$HOME/bin/composer"
# Activate crontab file
crontab -u $USER "$DIR/.crontab"
# Link crontab file
ln -s "$DIR/.crontab" "$HOME/.crontab"