From 3124900e61342d19eafadc1b0d8c2148a473bcb8 Mon Sep 17 00:00:00 2001 From: spinach Date: Tue, 7 Feb 2023 13:35:19 -0500 Subject: [PATCH] added calcurse bindings/settings to dotfiles --- meta/configs/calcurse.yaml | 2 ++ meta/profiles/arch | 1 + meta/profiles/work-arch | 1 + meta/profiles/wsl | 1 + terminals/tmux/tmux-full.conf | 3 +- tui/calcurse/conf | 33 +++++++++++++++++++++ tui/calcurse/keys | 55 +++++++++++++++++++++++++++++++++++ 7 files changed, 95 insertions(+), 1 deletion(-) create mode 100644 meta/configs/calcurse.yaml create mode 100644 tui/calcurse/conf create mode 100644 tui/calcurse/keys diff --git a/meta/configs/calcurse.yaml b/meta/configs/calcurse.yaml new file mode 100644 index 0000000..3dd574b --- /dev/null +++ b/meta/configs/calcurse.yaml @@ -0,0 +1,2 @@ +- link: + ~/.config/calcurse: tui/calcurse diff --git a/meta/profiles/arch b/meta/profiles/arch index 3cbfde1..6abc454 100644 --- a/meta/profiles/arch +++ b/meta/profiles/arch @@ -8,3 +8,4 @@ i3 polybar picom scripts +calcurse diff --git a/meta/profiles/work-arch b/meta/profiles/work-arch index 603f4d3..d9a39b7 100644 --- a/meta/profiles/work-arch +++ b/meta/profiles/work-arch @@ -9,3 +9,4 @@ picom polybar scripts timetracker +calcurse diff --git a/meta/profiles/wsl b/meta/profiles/wsl index 9fa971c..d23d3c5 100644 --- a/meta/profiles/wsl +++ b/meta/profiles/wsl @@ -4,3 +4,4 @@ zsh oh-my-zsh fzf scripts +calcurse diff --git a/terminals/tmux/tmux-full.conf b/terminals/tmux/tmux-full.conf index 1f68f02..a4809c0 100644 --- a/terminals/tmux/tmux-full.conf +++ b/terminals/tmux/tmux-full.conf @@ -1,4 +1,5 @@ -# Improve Colors set -g default-terminal "screen-256color" +# Improve Colors +set -g default-terminal "screen-256color" # change keybinding to something sane set -g prefix M-a # Set scrollback buffer diff --git a/tui/calcurse/conf b/tui/calcurse/conf new file mode 100644 index 0000000..34c4fab --- /dev/null +++ b/tui/calcurse/conf @@ -0,0 +1,33 @@ +appearance.calendarview=monthly +appearance.compactpanels=no +appearance.defaultpanel=calendar +appearance.layout=1 +appearance.headerline=yes +appearance.eventseparator=yes +appearance.dayseparator=yes +appearance.emptyline=yes +appearance.emptyday=-- +appearance.notifybar=yes +appearance.sidebarwidth=0 +appearance.theme=red on default +appearance.todoview=hide-completed +appearance.headingpos=right-justified +daemon.enable=no +daemon.log=no +format.inputdate=1 +format.notifydate=%a %F +format.notifytime=%T +format.outputdate=%D +format.dayheading=%B %e, %Y +general.autogc=no +general.autosave=yes +general.confirmdelete=yes +general.confirmquit=yes +general.firstdayofweek=monday +general.multipledays=yes +general.periodicsave=0 +general.systemevents=yes +general.systemdialogs=yes +notification.command=printf '\a' +notification.notifyall=flagged-only +notification.warning=300 diff --git a/tui/calcurse/keys b/tui/calcurse/keys new file mode 100644 index 0000000..0f5ee8d --- /dev/null +++ b/tui/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 -