uni calendar script, latexmk from bashc
authorMart Lubbers <mart@martlubbers.net>
Fri, 18 Sep 2020 12:47:34 +0000 (14:47 +0200)
committerMart Lubbers <mart@martlubbers.net>
Fri, 18 Sep 2020 12:47:34 +0000 (14:47 +0200)
cal/.config/khal/config
cal/.local/bin/unical.bash [new file with mode: 0755]
shell/.bashrc

index 09a47d1..9b725e6 100644 (file)
@@ -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 (executable)
index 0000000..a7047c8
--- /dev/null
@@ -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 -
index a26e423..b3744db 100644 (file)
@@ -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