Bunch of i3 and rofi improvements

This commit is contained in:
Colin Powell
2019-06-16 22:41:21 -04:00
parent 15ee059a14
commit ec8e9a2c03
11 changed files with 151 additions and 33 deletions

View File

@ -4,6 +4,7 @@
;;; Commentary:
;;; Code:
(setq +todo-file "~/org/inbox.org")
(setq +project-file "~/org/projects.org")
(setq +today-file "~/org/today.org")
(after! org
@ -51,8 +52,8 @@
(tags "@book/NEXT") ; should generaly be pretty empty
(tags "@work/NEXT")
(tags "@home/NEXT")
(tags "@night/NEXT")
(tags "@selectp/NEXT")))
(tags "@farm/NEXT")
(tags "@town/NEXT")))
("R" "Weekly Review"
((agenda "" ((org-agenda-span 7)))
(stuck "") ; review stuck projects as designated by org-stuck-projects
@ -60,20 +61,18 @@
(todo "MAYBE") ; review someday/maybe items
(todo "WAITING")))) ; review waiting items
org-use-tag-inheritance t; bug in variable below, just turn 'em off
org-tags-exclude-from-injeritance '("PROJECT" "SPRINT") ; PROJECT should not be inheritable
;;org-use-tag-inheritance t; bug in variable below, just turn 'em off
;;org-tags-exclude-from-injeritance '("PROJECT" "SPRINT") ; PROJECT should not be inheritable
org-stuck-projects
'("+PROJECT/-MAYBE-DONE" ("TODO" "NEXT") nil "\\<IGNORE\\>")
org-tag-alist '(("PROJECT" . ?p)
("@home" . ?h)
("@night" . ?n)
("@selectp" . ?s)
org-tag-alist '(("@home" . ?h)
("@farm" . ?f)
("@town" . ?s)
("@errand" . ?e)
("@read" . ?r)
("@work" . ?w)
("@family" . ?f))
("@family" . ?m))
org-modules '(org-drill
org-clock
@ -105,6 +104,10 @@
(interactive)
"Opens the todo file"
(find-file +todo-file))
(defun +open-projects-file ()
(interactive)
"Opens the projects file"
(find-file +project-file))
(defun +open-today-file ()
(interactive)
"Opens the today file"
@ -113,6 +116,7 @@
(map!
:leader
:desc "Open inbox" "I" #'+open-todo-file
:desc "Open inbox" "P" #'+open-projects-file
:desc "Open today" "T" #'+open-today-file)
(defun +show-agenda ()