From 0a11290556191fe5d34784acfb7a430e71865c42 Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 10 Apr 2022 20:04:38 +0200 Subject: no more taskwarrior --- .config/calcurse/conf | 2 ++ .config/calcurse/hooks/post-save | 10 ++++++++ .config/calcurse/keys | 55 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 .config/calcurse/conf create mode 100755 .config/calcurse/hooks/post-save create mode 100644 .config/calcurse/keys (limited to '.config/calcurse') diff --git a/.config/calcurse/conf b/.config/calcurse/conf new file mode 100644 index 0000000..604a7e5 --- /dev/null +++ b/.config/calcurse/conf @@ -0,0 +1,2 @@ +format.inputdate=4 +appearance.theme=blue on default diff --git a/.config/calcurse/hooks/post-save b/.config/calcurse/hooks/post-save new file mode 100755 index 0000000..42d5859 --- /dev/null +++ b/.config/calcurse/hooks/post-save @@ -0,0 +1,10 @@ +#!/bin/bash + +cd "$HOME/.local/share/calcurse" >/dev/null 2>&1 || return +if [ -d .git ] && command -v git >/dev/null; then + git add apts todo + if ! git diff-index --quiet --cached HEAD; then + git commit -m "Automatic commit by the post-save hook" + fi + git push || true +fi diff --git a/.config/calcurse/keys b/.config/calcurse/keys new file mode 100644 index 0000000..28ff9e4 --- /dev/null +++ b/.config/calcurse/keys @@ -0,0 +1,55 @@ +# +# Calcurse keys configuration file +# +# In this file the keybindings used by Calcurse are defined. +# It is generated automatically by Calcurse and is maintained +# via the key configuration menu of the interactive user +# interface. It should not be edited directly. + +generic-cancel ESC +generic-select SPC +generic-credits @ +generic-help ? +generic-quit q Q +generic-save s S ^S +generic-reload R +generic-copy c +generic-paste p ^V +generic-change-view TAB +generic-import i I +generic-export x X +generic-goto g G +generic-other-cmd o O +generic-config-menu C +generic-redraw ^R +generic-add-appt ^A +generic-add-todo ^T +generic-prev-day T ^H +generic-next-day t ^L +generic-prev-week W ^K +generic-next-week w +generic-prev-month M +generic-next-month m +generic-prev-year Y +generic-next-year y +generic-scroll-down ^N +generic-scroll-up ^P +generic-goto-today ^G +generic-command : +move-right l L RGT +move-left h H LFT +move-down j J DWN +move-up k K UP +start-of-week 0 +end-of-week $ +add-item a A +del-item d D +edit-item e E +view-item v V RET +pipe-item | +flag-item ! +repeat r +edit-note n N +view-note > +raise-priority + +lower-priority - -- cgit v1.2.3