From b75cb4b1706b3abd5aa824d6e8b7779a8daa14c3 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 8 Sep 2025 15:43:20 -0700 Subject: update org-habit to display graph --- config/emacs.el | 6 +++++- config/emacs.org | 6 +++++- config/nix.org | 7 ++++--- 3 files changed, 14 insertions(+), 5 deletions(-) (limited to 'config') diff --git a/config/emacs.el b/config/emacs.el index 76948b5..7ab37be 100644 --- a/config/emacs.el +++ b/config/emacs.el @@ -119,7 +119,11 @@ (preview-image-type 'png "Use PNGs") (org-format-latex-options (plist-put org-format-latex-options :scale 1.5) "space latex better") (org-return-follows-link t "be able to follow links without mouse") - (org-habit-preceding-days 1 "See org habit entries") + (org-habit-preceding-days 7 "See org habit entries") + (org-habit-following-days 35 "See org habit entries") + (org-habit-show-habits t "See org habit entries") + (org-habit-show-habits-only-for-today nil "See org habit entries") + (org-habit-show-all-today t "Show org habit graph") (org-startup-indented t "Indent the headings") (org-image-actual-width '(300) "Cap width") (org-startup-with-latex-preview t "see latex previews on opening file") diff --git a/config/emacs.org b/config/emacs.org index dab81d6..07320dc 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -153,7 +153,11 @@ This is my org mode configuration, which also configures latex. (preview-image-type 'png "Use PNGs") (org-format-latex-options (plist-put org-format-latex-options :scale 1.5) "space latex better") (org-return-follows-link t "be able to follow links without mouse") - (org-habit-preceding-days 1 "See org habit entries") + (org-habit-preceding-days 7 "See org habit entries") + (org-habit-following-days 35 "See org habit entries") + (org-habit-show-habits t "See org habit entries") + (org-habit-show-habits-only-for-today nil "See org habit entries") + (org-habit-show-all-today t "Show org habit graph") (org-startup-indented t "Indent the headings") (org-image-actual-width '(300) "Cap width") (org-startup-with-latex-preview t "see latex previews on opening file") diff --git a/config/nix.org b/config/nix.org index 2a882a3..828363b 100644 --- a/config/nix.org +++ b/config/nix.org @@ -131,10 +131,9 @@ so that adding new configurations that add modifications is made simple. fira-code python3 poetry + statix + deadnix ]; - shellHook = '' - poetry shell - ''; }; packages."${system}" = { @@ -629,6 +628,8 @@ for users: passBlock = '' Method = sha256 + Hash = d4abdd69aa24de69693885c5bd83a4a0e9ee989e1a69a905041b0dad9abc06ea + Salt = sDY,?H5AxC-!gH3a.:)D Hash = ${config.sops.secrets.znc_password_hash} Salt = ${config.sops.secrets.znc_password_salt} -- cgit v1.3