diff options
| author | BardofSprites <[email protected]> | 2025-03-16 17:42:39 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2025-03-16 17:42:39 -0400 |
| commit | 3b72bd2cd4876a99f62834f6f9fbce6859e72cb7 (patch) | |
| tree | 254793a788143694da74b6309c5ba697da83640c /bin/.local | |
| parent | 3b6bbb901ae3d05ef281a7ab8e9e5f40fe868e39 (diff) | |
conky showing agenda
Diffstat (limited to 'bin/.local')
| -rw-r--r-- | bin/.local/bin/scripts/emacs/show-agenda.el | 16 | ||||
| -rwxr-xr-x | bin/.local/bin/scripts/emacs/show-agenda.sh | 4 |
2 files changed, 2 insertions, 18 deletions
diff --git a/bin/.local/bin/scripts/emacs/show-agenda.el b/bin/.local/bin/scripts/emacs/show-agenda.el deleted file mode 100644 index a36eb4c..0000000 --- a/bin/.local/bin/scripts/emacs/show-agenda.el +++ /dev/null @@ -1,16 +0,0 @@ -(org-eval-in-environment (org-make-parameter-alist - '(org-agenda-span - 'week - org-agenda-use-time-grid t - org-agenda-remove-tags t - org-agenda-window-setup 'nope)) - (let* ((wins (current-window-configuration)) - org-agenda-sticky) - (save-excursion - (with-current-buffer - (get-buffer-create org-agenda-buffer-name) - (pop-to-buffer (current-buffer)) - (org-agenda nil "a") - (let ((result (buffer-string))) - (with-temp-file "~/.agenda" (insert result))))) - (set-window-configuration wins))) diff --git a/bin/.local/bin/scripts/emacs/show-agenda.sh b/bin/.local/bin/scripts/emacs/show-agenda.sh index 6c2f96e..89326b3 100755 --- a/bin/.local/bin/scripts/emacs/show-agenda.sh +++ b/bin/.local/bin/scripts/emacs/show-agenda.sh @@ -1,4 +1,4 @@ #!/bin/bash -emacsclient -e "$(cat show-agenda.el)" -cat ~/.agenda +emacsclient -e "(bard/export-agenda-to-file)" +cat ~/.cache/agenda |
