From 9bcd484becb3085027277b9a8e4f100bb33cb737 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 18 Sep 2020 14:47:34 +0200 Subject: [PATCH] uni calendar script, latexmk from bashc --- cal/.config/khal/config | 4 ++++ cal/.local/bin/unical.bash | 4 ++++ shell/.bashrc | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 cal/.local/bin/unical.bash diff --git a/cal/.config/khal/config b/cal/.config/khal/config index 09a47d1..9b725e6 100644 --- a/cal/.config/khal/config +++ b/cal/.config/khal/config @@ -23,6 +23,10 @@ color = light blue path = ~/.local/share/vdirsyncer/cal/vuilnis color = brown +[[uni]] +path = ~/.local/share/vdirsyncer/cal/uni +color = yellow + [sqlite] path = ~/.local/share/khal/khal.db diff --git a/cal/.local/bin/unical.bash b/cal/.local/bin/unical.bash new file mode 100755 index 0000000..a7047c8 --- /dev/null +++ b/cal/.local/bin/unical.bash @@ -0,0 +1,4 @@ +#!/bin/bash +URL='http://persoonlijkrooster.ru.nl/ical?5f3a4d37&group=false&deduplicate=true&eu=dTUzMTE1OA==&t=9c210088-e219-427c-bbcc-256fddc28c30' +rm /home/mrl/.local/share/vdirsyncer/cal/uni/* +curl -sSL "$URL" | khal import --batch -a uni - diff --git a/shell/.bashrc b/shell/.bashrc index a26e423..b3744db 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -38,7 +38,6 @@ alias slrn="slrn -i \"${XDG_CONFIG_HOME:-$HOME/.config}/slrn/slrnrc\"" alias ls='ls --color=auto' alias grep='grep --color=auto' alias vi=vim -alias latexmk='make -f ~/.local/bin/latex.mk' alias shutdown="echo \"Are you sure? I\'m Ygdrassil\" && read && shutdown" . /etc/bash_completion -- 2.20.1