diff --git a/install b/install index 73925a5..9018ebe 100755 --- a/install +++ b/install @@ -245,33 +245,6 @@ do mkdir -p "${HOME}/${dir}" done -print_section "Setup notes directory" -if [ ! -d "${HOME}/notes" ]; then - git clone gl:notes "${HOME}/notes" - print_log "Created notes directory" -else - print_log "Notes directory already exists" -fi - -print_section "Setup tasks directory" -if [ ! -d "${HOME}/tasks" ]; then - git clone gl:tasks "${HOME}/tasks" - print_log "Created tasks directory" -else - OLD_DIR=$(pwd) - cd "${HOME}/tasks" || exit - - if git rev-parse --git-dir > /dev/null 2>&1; then - print_log "Tasks directory already exists" - else - cd "${OLD_DIR}" - rm -rf "${HOME:?}/tasks" - git clone gl:tasks "${HOME}/tasks" - print_log "Created tasks directory" - fi - - cd "${OLD_DIR}" || exit -fi ############################################################################### # Prepare work tools # diff --git a/system/.config/cron/crontab b/system/.config/cron/crontab index b389929..3084873 100644 --- a/system/.config/cron/crontab +++ b/system/.config/cron/crontab @@ -11,10 +11,4 @@ # This file is loaded on boot by crontab. # Synchronize Google Drive every 15 minutes -0/15 * * * * $HOME/.local/bin/sync-drive 2>> $HOME/.local/log/cron.log - -# Synchronize notes every 10 minutes -2/10 * * * * $HOME/.local/bin/sync-notes 2>> $HOME/.local/log/cron.log - -# Synchronize tasks every 5 minutes -0/5 * * * * $HOME/.local/bin/sync-tasks 2>> $HOME/.local/log/cron.log +*/15 * * * * $HOME/.local/bin/sync-drive 2>> $HOME/.local/log/cron.log diff --git a/system/.config/polybar/config b/system/.config/polybar/config index b747bbc..cd667b2 100644 --- a/system/.config/polybar/config +++ b/system/.config/polybar/config @@ -43,7 +43,7 @@ module-margin = 2 modules-left = i3 modules-center = -modules-right = update gmail todo battery battery2 volume backlight vpn wlan ethernet date power +modules-right = update gmail battery battery2 volume backlight vpn wlan ethernet date power tray-position = none separator = | @@ -137,18 +137,6 @@ interval = 60 click-left = xdg-open https://mail.google.com -############################################################################### -# Todo # -############################################################################### -[module/todo] -type = custom/script -exec = task count due.before:tomorrow and status:pending or due: and status:pending - -format =