Compare commits

...

8 Commits

8 changed files with 7 additions and 18 deletions

View File

@@ -100,12 +100,6 @@ block = "custom"
json = true
command = "ping -n -q -w 2 -c 1 8.8.8.8 >/dev/null 2>/dev/null && printf '{\"text\":\"\",\"state\":\"Info\"}' || printf '{\"text\":\"\",\"state\":\"Critical\"}'"
[[block]]
block = "custom"
command = "workstation-client weather get"
# caching is handled by the workstation daemon
interval = 60
[[block]]
block = "time"
interval = 1

View File

@@ -333,12 +333,7 @@ embiggen() {
}
journal() {
journaldir=~/sync/journal/
file="$journaldir/$(date +%Y-%m-%d).md"
if [[ ! -e $file ]] ; then
cp $journaldir/template.md $file || return
fi
$EDITOR $file
$EDITOR ~/sync/journal/"$(date +%Y-%m-%d).md"
}
prefix() {