From 08dd4d1464e29d0dd1ef33225dd57bbee85b746c Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Wed, 13 Feb 2019 20:44:36 +0100 Subject: [PATCH] Move local logs to .local/log Signed-off-by: Severin Kaderli --- install.sh | 2 +- system/.config/cron/crontab | 4 ++-- system/.config/custom/env | 1 - system/.config/zsh/.zshrc | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 85b4120..839255f 100755 --- a/install.sh +++ b/install.sh @@ -22,7 +22,7 @@ USER="severin" # Array of directories which should be created DIRECTORIES=( - ".logs" + ".local/log" "Build" "Downloads" "Projects" diff --git a/system/.config/cron/crontab b/system/.config/cron/crontab index dbf6528..6dbb183 100644 --- a/system/.config/cron/crontab +++ b/system/.config/cron/crontab @@ -10,5 +10,5 @@ # USAGE: # This file is loaded on boot by crontab. -# Synchronize Google Drive -*/10 * * * * grive -d -p /home/severin/GoogleDrive/ >> /home/severin/.logs/cron.log 2>&1 +# Synchronize Google Drive every 30 minutes +*/30 * * * * grive -d -p /home/severin/GoogleDrive/ >> $XDG_LOG_HOME/cron.log 2>&1 diff --git a/system/.config/custom/env b/system/.config/custom/env index 41d4540..9db18b6 100644 --- a/system/.config/custom/env +++ b/system/.config/custom/env @@ -59,7 +59,6 @@ export GTK_IM_MODULE=xim export XMODIFIERS=@im=ibus export QT_IM_MODULE=xim - # Adding folders to the PATH variable export PATH="${PATH}:${HOME}/.local/bin" export PATH="${PATH}:${CARGO_HOME}/bin" diff --git a/system/.config/zsh/.zshrc b/system/.config/zsh/.zshrc index ae271d3..bc68a7c 100644 --- a/system/.config/zsh/.zshrc +++ b/system/.config/zsh/.zshrc @@ -45,6 +45,7 @@ export XDG_CONFIG_HOME="${HOME}/.config" export XDG_CACHE_HOME="${HOME}/.cache" export XDG_DATA_HOME="${HOME}/.local/share" export XDG_BIN_HOME="${HOME}/.local/bin" +export XDG_LOG_HOME="${HOME}/.local/log" # Sourcing environment variables if [ -f "${XDG_CONFIG_HOME}/custom/env" ]; then