From b4ce4be870191616cb638c5df21042ed4cc1fc7b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 2 Sep 2026 00:29:31 +0530 Subject: feat(office/calcurse): added configuration --- modules/office/calcurse/conf | 42 +++++++++++++++++++++++++++++++++++++ modules/office/calcurse/default.nix | 5 +++++ 2 files changed, 47 insertions(+) create mode 100644 modules/office/calcurse/conf (limited to 'modules') diff --git a/modules/office/calcurse/conf b/modules/office/calcurse/conf new file mode 100644 index 0000000..79e3189 --- /dev/null +++ b/modules/office/calcurse/conf @@ -0,0 +1,42 @@ +# Appearance +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=green on black +appearance.todoview=hide-completed +appearance.headingpos=right-justified + +# Daemon +daemon.enable=no +daemon.log=no + +# Format +format.inputdate=1 +format.notifydate=%a %F +format.notifytime=%T +format.appointmenttime=%H:%M +format.outputdate=%D +format.dayheading=%B %e, %Y + +# General +general.autogc=no +general.autosave=yes +general.confirmdelete=yes +general.confirmquit=yes +general.firstdayofweek=monday +general.multipledays=yes +general.periodicsave=0 +general.systemevents=yes + +# Notification +notification.warning=300 +notification.command=printf '\a' +notification.notifyall=flagged-only diff --git a/modules/office/calcurse/default.nix b/modules/office/calcurse/default.nix index 03bf9c1..65390fd 100644 --- a/modules/office/calcurse/default.nix +++ b/modules/office/calcurse/default.nix @@ -18,5 +18,10 @@ config = lib.mkIf config.office.calcurse.enable { home.packages = [ config.office.calcurse.package ]; + + xdg.configFile."calcurse/conf" = { + source = ./conf; + force = true; + }; }; } -- cgit v1.2.3