1
0
Fork 0
Commit graph

960 commits

Author SHA1 Message Date
b5b09921e3 feat(oni-org): Use the LCh color space to generate colors
Automatically generated colors for todo keywords and tags using an MD5 hash will
produce a completely random color, frequently not fitting well at all within my
chosen color theme. Using the LCh color space and keeping the L(uminance) and
C(hroma) constant will produce colors that fit together much metter, and the
values have been picked to work well with ‘yoshi-theme’.

This change was inspired by “Arbitrary Beautiful Colors”[1].

[1]: https://khanlou.com/2023/02/arbitrary-beautiful-colors/
2023-02-24 23:28:28 -08:00
d1ca3d7874 [oni-org] Add planned pomodoro note 2023-01-24 10:08:11 -08:00
6ef9c0d59b [oni-coree] Silence native compilation warnings 2023-01-24 10:05:31 -08:00
5d7b20598b [oni-core] Sort keybindings, add ace window keybindingss 2023-01-24 10:04:39 -08:00
37fe64b4d8 [oni-org] Add some Pomodoro[1] helper functions
- ‘oni-org-increment-property’: A generic command that increments a numeric org
  property

- ‘oni-org-pomodoro-add-note’: A command that adds a note to the org item
  logbook that states a pomodoro was completed.

- ‘oni-org-pomodoro-times’: A function that parses an org item logbook to figure
  out at what times a pomodoro had been completed for that particular task.

- ‘oni-org-pomodoro-times-for-date’: A function that finds the times a pomodoro
  has been marked as completed for a specified date.

- ‘oni-org-archive-old-tasks’: Unrelated to the other functions, just a command
  that archives all of the tasks that have been closed in the previous month.

[1]: https://francescocirillo.com/products/book-the-pomodoro-technique
2022-12-13 07:29:08 -08:00
ca8dc9d161 [oni-elisp] Add ‘litable-mode’[0] to Emacs Lisp buffers
[0]: https://github.com/Fuco1/litable
2022-12-13 07:18:17 -08:00
d0420ae5e3 [oni-core] Add related-files[1] to consult-buffer[2]
[1]: https://github.com/DamienCassou/related-files
[2]: https://github.com/minad/consult
2022-12-13 07:14:06 -08:00
5f7a6b8ddd Give some keybindings (hopefully) more descriptive names
This style of keybinding helps ‘which-key’[1] to display a better name for the
command.

[1]: https://github.com/justbur/emacs-which-key
2022-12-13 07:11:36 -08:00
244c2797b8 [oni-company] Use tab for either completion or indentation 2022-12-13 07:09:59 -08:00
8fb6beda45 [oni-browse-url] Open Mastodon URLs with mastodon.el if installed 2022-12-13 07:09:34 -08:00
cd94e63543 [oni-js] Remove ‘tern’ dependency 2022-12-04 07:37:16 -08:00
5b3dbb6cf1 [oni-eshell] Fix function reference 2022-12-04 07:36:54 -08:00
7f72a0a47e [oni-elfeed] Subscribe to specific wallpaper sizes on reddit 2022-11-22 23:31:17 -08:00
ce285a51d6 [oni-org-roam] Display org-roam buffer in side window 2022-11-22 23:14:44 -08:00
6793848975 [oni-core] Show a random tip in my initial scratch message
These tips come from “Pragmatic Thinking and Learning: Refactor Your Wetware” by
Andy Hunt[1]

[1]: https://pragprog.com/titles/ahptl/pragmatic-thinking-and-learning/
2022-11-13 23:04:21 -08:00
04be0ce1fe [oni-notmuch] Swap deleted and @me faces so deleted takes precedence
When I delete a message I don't want it to still be highlighted as a message for
me. The fact that I marked it for deletion is more important than that it's
addressed to me directly.
2022-11-13 17:06:22 -08:00
0401e08e65 [oni-org] Don't display blocked tasks in the agenda at all
I'm trying as much as I can to just only display what I can actually work on,
and by definition anything that is blocked I cannot.
2022-11-13 17:00:43 -08:00
aac81cc7a8 [oni-org] Enable Special C-k
See the documentation of ‘org-special-ctrl-k’ for what it does
2022-11-13 17:00:05 -08:00
8329141c43 [oni-notmuch] Show messages tagged @me specially 2022-11-13 16:59:24 -08:00
fac5c04ce5 [oni-core] Remove duplicate entries from history 2022-11-13 16:58:38 -08:00
0d12314877 [oni-bookmark] Automatically save my bookmarks when I change them 2022-11-13 16:58:03 -08:00
67c77bb277 [oni-core] Remove the dashboard package
I barely ever look at it.
2022-11-13 16:55:49 -08:00
8525e5e61c [oni-core] Remove agenda items from dashboard
I don't use the dashboard to see my tasks.
2022-11-08 23:30:12 -08:00
47593186ea [oni-core] Set some variables for the built-in ‘calendar’ package 2022-11-02 01:49:35 -07:00
601935c856 [oni-org] Fix exclusion of ‘journal.org’ 2022-10-26 23:35:48 -07:00
7342368178 [oni-org] Add functions to create and update a Pomodoro overview
This is meant to be used as a daily overview of the Pomodoro's that I've gone
through during the day. Should be put in my journal. For that reason, and
because I haven't figured out how to make it idempotent on days that aren't
today, I've added an exclusion of ‘journal.org’ to the
‘oni-org-update-all-dblocks-live’ function.
2022-10-25 23:18:55 -07:00
875e63d62a [oni-org] Allow project references to work with archived tasks
This commit fixes the issue that project tasks found in the archive of the org
file can't be accessed through the link that's been generated. This fixes that.
2022-10-19 22:52:45 -07:00
1d8734b275 [oni-eshell] Display Eshell in bottom window, not side window
A side window can't be made the only window, but a window at the bottom can.
2022-10-19 22:51:50 -07:00
1cebbcac5a [oni-elfeed] Add another RSS feed 2022-10-19 22:51:21 -07:00
1c9b256f78 [oni-org] Add icon for “config” tasks 2022-09-28 00:49:13 -07:00
073f83e8f9 [oni-org] Reduce the distance of the tags column
This will make top-level headlines still place their tags before the line ends.
2022-09-27 23:46:04 -07:00
8b71ddf093 [oni-groovy] Add ‘/’ as a pair for smartparens 2022-09-27 23:45:25 -07:00
81b630718c [oni-embrace] Add """ and ''' as pairs for Groovy 2022-09-27 23:44:48 -07:00
9c7baa6235 [oni-elfeed] Mark any paid LWN post as read
I can't read these anyway, so I might as well not see them.
2022-09-22 22:29:06 -07:00
3c22cbb1e0 [oni-org] Update available agenda commands 2022-09-21 23:44:27 -07:00
298402f2e1 [oni-org-roam] Show / hide the roam buffer when desired
This toggles the roam buffer on when a buffer that is part of org roam is
displayed, and toggles it off when I switch away.
2022-09-21 23:43:07 -07:00
4dcb5a4f6d [oni-elfeed] Add another url 2022-09-20 23:25:15 -07:00
90c9ef6270 [oni-smartparens] Add keybind for ‘sp-splice-sexp-killing-backward’ 2022-09-20 13:40:05 -07:00
5d59327d8d [oni-groovy] Replace ‘electric-pair-local-mode’ with Smartparens 2022-09-20 13:39:36 -07:00
30265c17a5 [oni-circe] Clear the polybar circe widget when Emacs is closed 2022-08-26 23:57:32 -07:00
fdeeccf264 [oni-emms] Set up emms-mpd 2022-08-26 22:09:53 -07:00
269bd1a78c [oni-circe] Add a couple more channels 2022-08-26 22:09:33 -07:00
375120e2dd [oni-circe] Show channel status in polybar
I don't like that this global status thing shows up everywhere on the mode line,
which is already quite full with minor modes and the like. This way it's only
ever in one place.
2022-08-26 22:05:51 -07:00
c7e5178a36 [oni-org] Add ‘form-feed’ package to dependencies
This way I can use pretty looking horizontal rulers in my org files.
2022-08-24 20:41:36 -07:00
9d5f0ace49 [oni-elfeed] Add some feeds 2022-08-17 14:51:17 -07:00
1f1e23ffd0 [oni-notmuch] Give deleted emails a different face 2022-08-17 14:50:41 -07:00
d8158ea7ee Add oni-emms module 2022-08-17 14:50:25 -07:00
54417e5852 [oni-notmuch] Add ‘ol-notmuch’ package 2022-07-18 08:55:10 -07:00
ab3fb36ca1 [oni-yaml] Add ‘yaml-pro’ package 2022-07-18 08:54:52 -07:00
2fc7107969 [oni-org] Update default todo agenda command
I've removed the hierarchy from my tags, so now I need to see any for the tag of
the current host name, any computer, and any emacs tasks that have a state of
TODO.
2022-06-21 22:45:57 -07:00