202412291735476965

This commit is contained in:
fz0x1 2024-12-29 13:56:05 +01:00
parent a1cb7d1575
commit 681f02385c
7 changed files with 68 additions and 6 deletions

View file

@ -294,6 +294,7 @@ PRIORITY may be one of the characters ?A, ?B, or ?C."
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-timestamp-if-done t)
(setq org-agenda-tag-filter-preset '("-movies" "-book"))
(setq org-agenda-custom-commands
'(
@ -334,8 +335,7 @@ PRIORITY may be one of the characters ?A, ?B, or ?C."
(org-agenda-remove-tags t)
(org-agenda-span 7)
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'todo 'done)
'(org-agenda-skip-entry-if 'regexp ":inbox:"))
'(org-agenda-skip-entry-if 'todo 'done))
)
)
@ -346,10 +346,6 @@ PRIORITY may be one of the characters ?A, ?B, or ?C."
(org-agenda-prefix-format " %t %s")
(org-agenda-overriding-header "CURRENT STATUS")
(org-agenda-skip-function
'(org-agenda-skip-entry-if 'regexp ":inbox:"))
;; Define the super agenda groups (sorts by order)
(org-super-agenda-groups
'(

View file

@ -0,0 +1,22 @@
from promnesia.common import Source
from promnesia.sources import auto
"""
List of sources to use.
You can specify your own, add more sources, etc.
See https://github.com/karlicoss/promnesia#setup for more information
"""
SOURCES = [
# Source(
# auto.index,
# # just some arbitrary directory with plaintext files
# '/usr/share/vim/',
# )
Source(
auto.index,
"/home/fz0x1/org/braindump/",
name="pkm",
ignored=["*.html", "*.gpg"],
),
]

View file

@ -0,0 +1,9 @@
[Unit]
Description=Mailbox synchronization service
[Service]
Type=oneshot
ExecStart=/usr/bin/mbsync -Va
[Install]
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Mailbox synchronization timer
[Timer]
OnBootSec=2m
OnUnitActiveSec=5m
Unit=mbsync.service
[Install]
WantedBy=timers.target

View file

@ -0,0 +1,9 @@
[Unit]
Description=promnesia server
[Service]
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia serve
Restart=on-failure
[Install]
WantedBy=default.target

View file

@ -0,0 +1,7 @@
[Unit]
Description=index promnesia
[Service]
ExecStart=/home/fz0x1/.local/share/pipx/venvs/promnesia/bin/promnesia index
StandardOutput=append:/tmp/promnesia-index.log
StandardError=append:/tmp/promnesia-index.err

View file

@ -0,0 +1,9 @@
[Unit]
Description=Таймер для Promnesia Index
[Timer]
OnUnitActiveSec=60min
[Install]
WantedBy=timers.target