Skip to content

dppdppd/org-when

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

org-when

Hide items that aren't time-relevant by creating and using time-based tags e.g., @weekend

Agendas can get filled with tasks that can't be completed in the current time context. org-when will hide tasks that aren't doable right now.

For example

  • Clean the yard :@weekend:

With org-when, this heading will only show up in org agenda on Saturday or Sunday.

INSTALLATION

(package org-when) (use-package org-when)

CONFIGURATION

  1. optionally, customize org-when-time-entries. This is a list of tags and times. It can be customized or set. The default entries are
  • @weekend (Sat-Sun)
  • @weekday (Mon-Fr)
  • @morning (5am-10am)
  • @evening (5pm-11pm)
  1. In your org agenda configuration, use org-when-skip-if instead of org-agenda-skip-if. e.g.
(setq org-agenda-custom-commands
        '(("d" "Daily agenda"
            ((agenda ""
                (org-agenda-skip-function '(org-when-skip-if '(todo done))))))))

  1. tag your headings with one of the specified tags.

About

Filter agenda items using tags, e.g. @weekend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published