Commit graph

29 commits

Author SHA1 Message Date
d10db1be7d
taskwarrior: Fix taskopen script
Fixed taskopen script not opening the correct numbered task
when passed one (either on the command line with `to <id>`
or through taskwarrior with `t <id> open`).
Now it does directly open the correct note.
2023-12-30 21:33:20 +01:00
78987c493e
mutt: Update neomutt configuration
Changed some colors, some keymaps and made it more flexible for new mail
account setups. Also removed most of the static gmail-related account
stuff since I don't need this in my public repo.
2023-12-12 12:37:13 +01:00
4cc03a611a
sh: Add default open script
Simple wrapper for xdg-open functionality. Simply refers
to xdg-open except if there exists mimeo on the system
which it will refer to instead.

So, a simple preference modificator for mimeo over
xdg-open since that is my preference too.

Also gave it a short name so I can do open whenever I
want and don't have to tax my left hand with tying xdg.
2023-12-04 08:26:59 +01:00
dfb9d7ff01
timewarrior: Add hash and plus to taskwarrior tags
Add a hash sign in front of 'project' tags received from
taskwarrior (i.e. where it is `project:something` it will
end up as #something in timewarrior.

Similarly, add a plus sign in front of tags: `+mytag`.
Only descriptions will be left as-is in translating from
taskwarrior to timewarrior.

This should make finding tags and projects specifically
much easier in timewarrior (e.g. for counting up the total
time spent on a single project).
2023-09-25 19:43:58 +02:00
1efe13cb94
office: Update displayed symbols 2023-07-21 20:16:17 +02:00
2227e464a6
office: Fix comment issues 2023-06-20 13:00:01 +02:00
5f93ecba7c
lua: Format with stylua 2023-06-15 10:12:30 +02:00
8627a51bb7
neomutt: Update macro key maps
Updated key mappings to use `,` as the 'local-prefix' (or 'macro-prefix') which
allows easier setup for an additional functionality layer.

Also make `dd` the standard way to delete a whole sub-thread instead of
single mail by single mail of a conversation. That functionality can now
be achieved with `dD` instead, while `dd` removes a whole thread (not
just sub-thread).
2023-05-23 15:38:57 +02:00
605e0abdbb
neomutt: Fix laggy mail list display
Fixed display of longer mail directory lists which would be very laggy
by simply removing calls to attachment_info in the overview.
2023-05-23 15:37:29 +02:00
2f4e71ad9f
task: Make taskopen adhere to xdg
Using `TASKOPENRC` we set the configuration file to be in the correct
xdg configuration directory.
2023-05-23 15:35:37 +02:00
fd8b0b290c
taskwarrior: Display scheduled tasks on grey bg
Switched scheduled to display on grey background to improve readability
on dark color schemes slightly.
2023-02-25 17:13:59 +01:00
cd9d373dca
taskwarrior: Add today alias
Added `tod` alias which looks for tasks due today or overdue.
2023-02-25 17:13:19 +01:00
f2cb2f5be9
imapfilter: Switch to use pass command
The other office tools use the pass command so we switch this one to use
it to unify invocation.
2023-02-25 17:12:27 +01:00
5d2542db51
sync-mail: Warn user as part of prehook
If no hook should be run before syncing (or a user-defined hook) then
the warning should fall under that and not be run as part of it.

Additionally takes care of multiple decryption requirements in a row.
2023-02-25 17:11:00 +01:00
c985841776
office: Add basic khard configuration
I am using card (in conjunction with my vdirsyncer setup) to quickly get
an overview of my contacts and use them for email sending. This adds a
very simple config to the repo which gets khard up and running.
2023-01-16 21:59:00 +01:00
369345880d
taskwarrior: Extend active task listing alias
Extended active task listing to show both the active task from
taskwarrior, but also any currently 'tracking' task from timewarrior.

Ideally, those should be the same - but if they mismatch or timwarrrior
is not correctly tracking the active task, this is still good
information to have at a glance.
2023-01-12 22:55:18 +01:00
99a3c0d314
sh: Add conditionals to plugin loading 2023-01-10 15:37:45 +01:00
dac7e7deee
taskopen: Fix expansion using environment var 2023-01-10 00:14:40 +01:00
ccd9c51cc0
mail: Allow moving threads to other mailboxes 2023-01-07 14:49:15 +01:00
9a1f9be8c6
mail: Switch to imv for images 2023-01-07 14:48:54 +01:00
f45e41b754
office: Add active task modificaiton tw aliases
Added aliases to the shell to quickly Stop a currently Active Task
(`tas`) or to quickly log a currently Active Task as Done (`tad`).
2022-12-20 12:06:34 +01:00
11c7b82de0
office: Add option to reconstruct/show thread in neomutt
Added zr mapping to try to reconstruct a thread that has been ripped
apart, as well as zR mapping to simply show (only) the current thread in
neomutt.
2022-12-16 23:23:32 +01:00
e1a8f8ec8d
office: Add urlview xdg-open setup
Added configuration for urlview which neomutt uses to parse out urls
from emails to, by default, make use of xdg-open to decide which program
to open them in instead of sending them to lynx.
2022-12-16 23:22:54 +01:00
30030782e1
office: Add more vim-like mappings to neomutt
Added page up/down movement with the C-u/d/b/f key combinations, as well
as message and thread removal with dd (message), dT (thread) and dt
(sub-thread) chords.
Replies have been changed to rr (reply all) or ro (reply one).

The 'new' flag can be toggled by s (for seen) as previously, though now
other flags can be toggled with S and all messages can be marked as seen
with C-s.

Other things are mostly the same, though threads can be collapsed with
za (one) or zA (all) and moved between with gt/gT.
2022-12-13 09:53:46 +01:00
aefce1c498
office: Integrate neomutt and taskwarrior
The beginning of what I hope can be a useful integration: send mails to
taskwarrior as tasks and open the corresponding mail from tasks in
taskwarrior.

To make a task out of an e-mail, in neomutt, simply press `t` when the
mail is selected or opened. It will create an automatic task in
taskwarrior with the description "Reply to [mail] by [sender]" and tag
it as mail.
If you press `T` instead, you can give the task your own description and
tags.

In taskwarrior, you can simply `t open <taskid>` on a task that came
from neomutt to show the message content on the command line (using
notmuch). This is still a bit rudimentary and I would like an improved
display, but it works for now.
2022-12-08 21:31:15 +01:00
a89249badd
office: Fix missing taskwarrior file being set up
Colorscheme file was not being set up correctly before.
2022-12-08 14:10:11 +01:00
b534454a88
task: Integrate into office module
Since I am striving for closer connection between my task management, my
mail suite and my calendar appointments, it makes sense to unify all
'office' tasks into the single office module instead of keeping
taskwarrior outside of it.
2022-12-08 14:10:11 +01:00
3c3cc20dc2
office: Fix neomutt cache dir creation
Fixed the call to create cache directories with the correct environment
variable.
2022-12-08 14:10:10 +01:00
03684ce29f
office: Rename mail module to office module
Reflecting the somewhat expanding scope of the module, renamed it to
office. Still keeps the old files and setups but also got a new README
file.
2022-12-08 13:43:44 +01:00