imapfilter now looks for account information in an accounts.lua file in
its configuration directory -- the file should return account
information as a table with each account being a top-level entry in the
table.
A sample spam-moving script has been supplied:
For now, it will take a list of sender addresses and put everything in
the list from the inbox into the dump directory.
An example list of senders has been supplied for testing purposes, but
this should eventually be read from a file containing an extensible list
of senders (and perhaps even different properties such as subject, etc.)
The imapfilter xdg alias has been fixed.
Coherence between the imap folder structure and notmuch tagging system
still has to be achieved -- either by aerc using the folder structure as
a query map, or notmuch tags automatically being applied for specific
imap filtering options.
Added script to call for checking mail. Will run individual pre- and
post-hooks. (By default, imapfilter and notmuch update.)
Simple options can be changed through environment variables:
Hooks can be set to different scripts with MBSYNC_PRE and
MBSYNC_POST, respectively.
Will also run mbsync repeatedly, until it exits without error. By
default it will try running it 3 times before giving up, this can be set
with MBSYNC_MAX_TRIES.
No functional imapfilters have been added yet.
mbsync and imapfilter both adhere to the XDG base directory layout
(somewhat), checking for their option files in .config/{isync,imapfilter}
respectively.
Everything still pending changes, the mail eco-system is hard to
wrap one's head around.
Sets zathura to open itself with the recolored version of the pdf
instead of the usual (mostly white background/black lettering).
This works in concert with styler which will automatically set the
correct coloring in 'zathurarc' for the currently applied desktop theme.
Changes the copy mode to send anything copied to the clipboard instead
of primary selection, since I never use primary selection.
Adds a simple keymap to print a file (p) and makes it slightly harder to
accidentally rotate a file by moving rotate from r to s-r.
The application autostart takes too long and is more intrusive than
anticipated. If I want to use qutebrowser, I can just start qutebrowser
on my and don't need to wait for i3 to do it for me --- especially since
the starting procedure takes a while and the application starts on the
wrong workspace anyways when it autostarts while I change desktops.
Spotify is not installed currently and throws an error each time, so
that is also not very useful.
An option for this to make a return might be as automatically starting
systemd services, which quickly switch to the correct workspace when the
application actually starts up -- but it is probably not worth the
hassle.
Lastly, this let's me get rid of a script in the i3 configuration
directory, which did not really belong there anyways with the XDG
distinction of 'configuration' and 'data'.
Clarified naming scheme in sxhkd-chain-labels documentation.
Updated year for vim copyright shortcut.
Enabled automatic copying to clipboard by neovim for every yank action.
Every so often, when doing rebases, you need quick access to the git
rebase command to do something like '--edit-todo' or similar.
Every time, I tried to do `grb` since I already use these quick
shortcuts for `grbm` rebasing onto master, and `grbi`, `grbc` to rebase
interactively or continue one in progress. The base version is thus a
natural extension of the more detailed implementations of rebasing.
`git pushall` (aliased to gpa) will push the current branch to each
connected remote of the repository.
So, if you have gitlab, github and keybase connected as remotes, it will
push to each one in return. As with the normal push command, you can
specify which branch to push ('master', 'develop', ..) after the
command, or use `--all` to push all branches at once.
Removed manual initialization of flashfocus from xinitrc, enabled the
service in systemd.
Changed the restart timer to 5 seconds, to mirror other X-dependent user
services to circumvent systemd being too eager to start the service
before X is ready on booting.
Fixed the download media (`<leader>dm`) option in qutebrowser to
download the link that is hinted and not the current page.
To download the current page, the keymapping remains the same as before
(`<leader>dM`).
Enabling both servers will allow more messages to get through, and it
does not really constrain the server resources too much.
an2linux should be clever enough to use *either* wifi or bluetooth in
mirroring the messages, depending on which one it finds connected to the
server/client.
Removed autostarting of new tmux sessions for each new alacritty window.
The auto-closing and deluge of unnamed sessions did not help keep any
kind of organizational scheme, and lead to actual named sessions (like
notes, and dot) to perish under the mountain of sessions.
Switched sxhkd shortcut from rofi-gopass to new rofi-pass
implementation.
Additionally switched from pulsemixer to pavolume for media key volume
control. Pulsemixer works well as a tui application, but its cli
implementation is unbearably slow (on my setup at the very least).
After pressing the volume up/down/mute key it could take up to 3 seconds
to take effect. With pavolume this change happens almost
instantaneously, and it displays a libnotify message on top (can be
disabled).
Switched default search engine for my personal searx engine.
Added search engine bangs for duckduckgo (ddg), man-pages (man),
alternativeto.net (alt).
Added key mapping to quickly open last downloaded file, especially
useful for downloaded pdf documents or similar files.
<leader>o will open the last file.
Main issue the restart delay fixes is that services don't wait for X to
be ready on startup (which is bad if the application being started
requires X being ready to actually work.)
I have still not found a way to work around waiting for X being ready
other then the ugly delay hack (for systemd --user modules at least).
However, the delay can be --- in most cases --- smaller than 5 seconds.
All my machines start reasonably fast and have X up and running from
pressing login to staring at the wallpaper in a couple seconds at most.
If services don't start correctly and the error is X not being ready,
increase the startup delay once again.
Additionally to gopass editing, editing pass files should also avoid
creating external undo files, backups, and similar traceable files out
of which secrets could leak.
This prevents their creation on a wide level.
Previously, the password could only be revealed -- once revealed it
could not be obfuscated anymore.
Now the obfuscated/deobfuscated state can be toggled by hitting the
corresponding keymapping repeatedly (default Alt+s in entry menu).
Moved all invocations of gopass to pass. Changed the inner workings of a
few functions to cope with the fewer utility functions in pass instead
of go (no auto-clipping, no flat item listing).
Perhaps still somewhat brittle but should overall have feature parity to
older rofi-gopass script.
Fixed bug when line in todo dropdown starts with `vim:`, `vi:`, or `:ex`
which would automatically be read by vim and tried to be set in the
editor. Removed modeline reading from vim to fix the bug, and since it
provides quite an attack vector anyway.
Added Limelight to its startup procedure to highlight the current to-do
paragraph.
Using `gx` the currently selected file(s?) will get extracted,
automatically using the correct extraction program for the compression
algorithm and creating a folder if necessary to avoid a file explosion
in the current directory (all default features of the `atool` program
which is a dependency)
Removed the autostart for the to-do dropdown from i3, since this is now
being handled by systemd as a system service with autostart and
automatic restart functionality.
Dropdown services need an X server to connect to and fail autostarting
if there's no available server.
HACK
Increasing their restart timer will alleviate this problem, *but* it
also means the dropdowns will start more slowly when closed by the user.
There should be another way to alleviate one issue (start automatically
after X is available) without exacerbating the other (restart when you
have been closed).
Autostarts an2linuxserver, dunst, kbfs, keybase, and the keybase://
redirector.
Will (presumably) complain if one of the programs is missing. Either
this should not be enabled by default or the startup service should
contain a sanity check for the program before attempting to launch
itself.
We already have a file which is strictly dedicated to xdg setting
environment variables and taking care of folder creations.
Using xdg-user-dirs as an application was basically doubling up on that.
Also, I don't need my directories localized - I just want them to point
to exactly where they should.
Both greenclip and redshift did not automatically start on system start,
since they needed X to be running but their restart was almost
instantaneously. So, they restarted their alloted 5 times before X was
ready and gave up.
Restart time has been set to 5 and 10 seconds, so their startup takes a
little longer but should, in most cases, succeed.
Added preview and opening of doc(x) files with nvim.
Makes use of docx2txt, catdoc to display the files, meaning they are
required.
Added some spellchecking words.
Defaults webpage backgrounds to 'davy grey'. Generally, this will be
overwritten in the stylesheet that is automatically applied through
styler. Setting the background color to a dark one does however prevent
the blinding whiteness when first opening a new page in a dark room and
it still has to load (as well as when rapidly switching between tabs).
Used wrong 'after' designation which would wait forever since it needed
to start after the runlevel which it was designated to run at.
Committed default.target.wants symlink to service file to automatically
enable its autostart on new machines.
This wil only really work for my directory set-up, so perhaps either the
service module should be disabled by default for the installation, be
asked during installation, or simply be manually enabled to autostart
during initial set-up (maybe mention in readme for the module).
`fzfman` will gather all manpage topics and display them in a fzf list
to choose from. Selection will open the corresponding manpage.
Other fzf- functions have been standardized in their naming scheme:
fzf and the function without any spaces, e.g.
`fzfhistory`, `fzfyay`, `fzfyayrns`.
If no fzf is installed, session chooser will now be the old manual
session name input. `tm session-name` will attach or create a session of
the same name, whether fzf is installed or not.
If invoked without argument, and fzf is installed will show a list of
sessions to choose from. If fzf is missing, will create new session
based on current directory.
`tl` has been changed to display the old non-interactive list if no fzf
exists. If fzf has been found however, it points to `tm` instead, since
invoking it without arguments fulfills the same function.