Commit graph

941 commits

Author SHA1 Message Date
b20e011b66
qutebrowser: Remove outline readability alias
Removed alias to invoke sending a page to outline to make it more
readable. Two reasons: First, outline seems gone. The website is hogged
by advertisements. Second, when I really need a page in readability
mode, I can just send it to my personal wallabag instance and as a bonus
even get it archived automatically.
2022-07-08 22:27:47 +02:00
03ec445076
sh: Fix XDG directory use for an array of apps 2022-06-28 11:30:46 +02:00
4bff036d1d
bash: Fix loading bash specific profile and env files 2022-06-28 10:24:57 +02:00
e25ce19719
sh: Add new XDG_STATE_HOME env var from spec
The XDG BASE DIRECTORY spec now includes a provision for 'state' stuff,
that does not quite fit into either the permanent nature of
XDG_DATA_HOME, nor into the impermanence and deletable nature of
XDG_CACHE_HOME - i.e. longer running logs or history files. Things you
don't necessarily need backed up at all times, but things that should
also not change every time the tmpfs is flushed, should you run your
.cache directory under one.

More here: https://teddit.net/r/linux/comments/ny34vs/new_xdg_state_home_in_xdg_base_directory_spec/
and here: https://wiki.debian.org/XDGBaseDirectorySpecification#state
2022-06-28 10:21:14 +02:00
4f1bc97977
mail: Change neomutt thread internal ordering
Threads used to display in reverse order within themselves, now they
should display the newest thread message first (as the one displayed
when hovering over the whole thread entry in the message list).
2022-06-13 19:31:56 +02:00
c0443dad35
nvim: Change remaining augroups to lua autocmds
Changed formatting and plugin self-compilation to make use of the new
neovim 0.7 autcmd api function.
2022-06-13 19:30:43 +02:00
6c20ac04b1
sh: Group directories first in ls views
Switch ls (exa) views to group any folders in current view and display
them before any files (works for l, L, ll, LL).
2022-06-13 17:50:36 +02:00
a0968bcf93
nvim: Change init autocmds to lua versions
With neovim 0.7 bringing autocmd bindings in lua, we can now rely on a
built-in api instead of having to use our own helper function. Last
missing migration is the lsp formatting autogroup.
2022-06-13 17:49:25 +02:00
cbf1e4e8e2
qutebrowser: Fix tab visibility toggling
Changed default tab visibility option to only show when multiple tabs
are open.

Fixed default tab visibility to always take effect when qutebrowser is
started and always allow simultaneous toggling to tabs and status bar
(<leader>tt)
2022-06-12 16:09:35 +02:00
f523431f01
qutebrowser: Add wikiless redirect
Added wikiless as automatic redirection for any wikipedia page.
Will only work for generall `wikipedia.org` links or specifically
english-language `en.wikipedia.org` links.
2022-06-12 16:08:41 +02:00
a1cfff389d
tmux: Update social session
Made mail more prominent since it's my primary use-case of the social
session, so it deserves primary spotlight in the tmux tabs.

Added a mastodon view to the news tab to complement the rss feed.
2022-06-12 16:05:50 +02:00
a53dd6d617
vifm: Make visidata/xsv default csv opener viewer
Make visidata the default program used to open csv files,
and xsv the default previewer since it displays it in nicer columns than
just the default viewer.
2022-06-12 16:03:38 +02:00
5c41b2e13c
taskwarrior: Update config for taskopen 2.0 format
Updated the formatting of the taskopen configuration file to conform to
its new display.

Updated the xdg-conforming `taskopen` alias to use long-form option
since the short-form option seems bugged at the moment.
2022-06-12 16:02:04 +02:00
a4f202184f
bootstrap: Update package list
Make pkg list conform more to current installation:

beets is not installed through pacman anymore. This is a temporary
measure to allow the easy use of beetcamp plugin which does not yet have
an aur package published and would need to be managed manually.
This way I can inject everything into a custom pipx-managed virtual
environment until a better solution comes along.

Removed hp printer drivers since I have not been near an HP printer for
a while.

Added gitui (as potential lazygit replacement) and fonts-cjk to be able
to display cjk characters on my machine (and finally stop having missing
squares displayed instead).

Added maestral and minidlna as ways of interacting with the outside
network, with minidlna allowing pretty easy media streaming to my tablet
and maestral being the best dropbox client I have ever seen.

toot was replaced by tut which is a really advanced tui mastodon client
and works very well for my purposes.

Waybar moved back to its pinned stable release version from being a git
version since I don't need its non-merged bleeding edge features anymore.

Yarn is explicitly installed so we have a global js manager for the few
programs I use once in a while.

Finally, zq is added for another way to inspect structured data
(mimicking jq which I struggled with for a couple of commands now) and I
want to learn it more in-depth.
2022-06-12 15:53:36 +02:00
a08f2daafe
river: Add translation widget mapping
Added quick way to translate from anywhere with the Mod+Shift+T mapping.
Will open a bemenu window into which text to be translated can be input
(as well as any translation options) and will return in another bemenu
window. From there, selected text can be put on the clipboard for easy
pasting.

Internally uses a simple wrapper script for translate-shell on which the
translation is based.

Closes #12.
2022-05-02 16:08:30 +02:00
4abfc41ca2
vifm: Extend nsxiv thumbnailer
Now works recursively, only looks for fitting format extensions and can
display video thumbnails as well.

All options are documented in `-h` help display - `-r` enables recursive
lookup for directory current file is in, `-m` enables displaying video
thumbnails (takes a little longer to load) and `-t` starts nsxiv in
thumbnail mode.
2022-05-01 18:48:09 +02:00
89c028c8d6
vifm: Add nsxiv as thumbnail previewer
Use <leader>t to start up nsxiv in thumbnail mode where it displays the
contents of the current directory.
You can do whatever you want with nsxiv, enlarge files with <Enter>,
flip them with | or - or delete them with D - the full bandwidth of
nsxiv is available.

If you mark pictures with m (or M) before exiting vifm will build a
custom filtered view containing only those files ready for further
filesystem operations with vifm.

Closes #11.

Also adds another layer of file previewer. If none of the other previewers
match (e.g. pdftotext for pdf, pandoc for docx, exa for directories, etc),
this viewer will be used and display the first couple hundred lines of a
file.

Essentially it means that unknown text files will be displayed using
this, but also binary files for which it displays the hexdump
automatically.
2022-05-01 01:20:12 +02:00
35eae9b32c
bootstrap: Add ly display manager
Added tui display manager to my system and I've been quite enjoying
using it, may come in handy as well if I ever want to have dual X11 and
Wayland setup or go back to a more rounded DE experience.

(Not that I intend to, but still enjoying the little style ly brings to
the boot screen.)
2022-04-30 21:02:04 +02:00
95e2fea951
nvim: Disable uninstalled python language servers
Had to manually disable python lsps that are not on my system since
neovim otherwise complains about it whenever I enter a new python
filetype file.
2022-04-30 21:00:05 +02:00
9a46a94827
nvim: Change blankline, Update treesitter settings
Updated treesitter setting to remove use of deprecated 'maintained'
option and simply replaced it to use 'all' treesitter syntaxes (haven't
had a problem with it so far).

Changed blankline options slightly to remove annoying animations and
quick switching of which blankline it shows depending on where my cursor
is -- both proved to be too much of a distraction when I just need to
interact with the indentation context every now and again and it should
just allow me a quick glance at the indentation level the rest of the
time.
2022-04-30 20:53:00 +02:00
96439a5c9b
tmux: Change todo.session setup
Replaced old, never used, graphical taskwarrior task accomplishment
overview with a more free-form calendar/journal page.

It displays an overview of my upcoming appointments using calcurse on
the one hand, and my personal snippet journal with the help of jrnl on
the other.
The last thing is a tiny empty pane allowing me just enough room to
interact with jrnl, e.g. quickly writing new entries.
2022-04-30 20:50:25 +02:00
cac0aee4ca
keyd: Update conf files to new 2.0 syntax
New config syntax uses [ids] section to select which input devices are
affected instead of file names, so we can have all settings (for
similarly set up keyboards) in a single default config file.

The file itself needs to end in `.conf` instead of the old `.cfg` and
there is a slight difference in syntax between the old `C` and the new
`control` for mapping the control key. That is about it.
2022-04-27 13:50:08 +02:00
2216ba079d
bootstrap: Update package list 2022-04-27 13:03:43 +02:00
71c41ecbde
bootstrap: Update package list script
Takes simple options -h (show help), -v (verbose), -n (dry-run) when
started.

By default does not spam output of *all* recognized packages anymore but
simply prints a diff at the end. Old output can be enabled with `-v`
verbose option.

Diff is shown even if dry-run mode is enabled so that using dry-run by
default will show you a preview of what changed.
2022-04-27 13:00:09 +02:00
b947493765
bootstrap: Update pkg list with python-docs
Added python-docs for offline python documentation availability, removed
long-overdue polybar package which I have not been using for a couple of
months.
2022-04-11 13:05:32 +02:00
8aa02654eb
nvim: Add Mini for indentblankline and commentary
Replaced indentblankline and vim-commentary both with mini.nvim, which
has both as submodules.

Commentary is replaced exactly and without any end-user changes, simply
transferred to be included in the lua plugin instead.
Indent blankline is a bit simpler but brings with it a new text object
which can be interacted with through `ai` and `ii`, e.g. `vii` select in
current indentation or `dai` delete around current indentation - very
useful.

Also added fuzzy matching algorithm from mini.nvim to telescope as
default sorter.
2022-04-11 13:00:55 +02:00
72c0a5d5f2
sh: Add short py alias for repl
Added `py` alias for any of `ptipython`, `ipython`, `python` found in
that order.
If python is not installed, will not create the alias.
2022-04-11 12:52:19 +02:00
50a5b23aab
scripts: Add queue to vidl
Added queuing to vidl downloader - will collect newly added files to
download to a queue.
(by default in ($XDG_DATA_HOME/ or ~/.local/share)/vidl/vidl_queue)

The queue of links can be interacted with like any other file.

When vidl is already running it keeps a lock-file active in .cache
directory so only one instance of vidl can ever be running
simultaneously.
2022-04-11 12:48:21 +02:00
2c7430121e
nvim: Fix dial plugin binds 2022-04-11 12:40:07 +02:00
bd71cfc168
mail: Use new neomutt styling, extend html view 2022-03-19 11:36:28 +01:00
3e00e84319
scripts: Add queue functionality to vidl
When adding new links to vidl, it will now put them in a queue (file)
from which it then begins downloading links one after the other. Only
one downloading instance of vidl will ever be running, but you can still
add more links by invoking it again while it is.

Added one new command line option `-c` to quickly empty the queue and
start over.

Fixes #8.
2022-03-15 11:54:32 +01:00
08d246272a
zathura: Fix no recoloring by default
To have the recoloring option being set to true work correctly on
zathura startup, it already has to have a colorscheme found and loaded.
That means the colorscheme has to be included before calling the
recoloring command.
2022-03-11 21:32:03 +01:00
b8fae73940
tmux: Add gitea issue tracking to dotfile session
When no changes are detected, neither uncommitted nor changed, one of
the git-window panes will instead of a diff display a list of issues
from gitea.
2022-03-10 23:10:59 +01:00
27cbf30da0
bootstrap: Fix stow linking new files
Forgot to update stow ignore list to include new package tsv file and
associated update script.
2022-03-10 22:46:45 +01:00
3218d62822
task: Add timewarrior hook
Added hook starting and stopping timewarrior tracking whenever starting,
stopping or completing a task in taskwarrior.
Really nice script, robust as well for starting multiple tasks and
start/stopping intermittently.
2022-03-10 22:46:45 +01:00
f539c44594
dunst,task,zathura: Fix styler uncommitted changes
Prepared dunst config for using the newly introduced (v1.8.0) drop-in
configuration files. This allows spreading out dunst configuration over
arbitrary files in the `dunstrc.d/` folder in the usual configuration
folder. Will be perfect for less intrusive `styler` changes.

Added icons to be displayed on dunst notifications if there are any.

Also prepared zathura configuration in a similar way, with the
configuration file containing an include directive for a colorscheme
file.

Lastly, moved taskwarrior theme options into their own file and included
them with an include directive.
Here, the file itself needs to be committed as well since taskwarrior
will complain about missing file being included otherwise. However, we
simply ignore the file in git after force-including it and no changes
will be tracked.

This means that from now on, styler theme changes should not show up as
uncommitted changes in the repository anymore for currently active
programs.

Fixes #6.
2022-03-10 22:43:37 +01:00
e73d320add
an2linux: Remove module
I have not used an2linux in ages, time to remove.
2022-03-09 11:27:48 +01:00
ebd1551dd6
kitty: Switch to kitty from alacritty
Removed alacritty configuration and replaced it with simple kitty
configuration.

I have not been using alacritty ever since switching from X to wayland
and am very happy with kitty. I don't see myself making the switch back
soon so should also switch configuration files.
2022-03-09 11:24:20 +01:00
280fab6ad3
bootstrap: Switch package list to tsv
Package list is now a single tab separated list. That should make
several automations in the future much simpler.

The table is built as follows:
`Name   Description Source  Target`

with one line per package. Source denotes official repositories or AUR,
and target is kept for future potential of creating different
deployments per target automatically (e.g. different package list for
desktop and server, and so on).

There is an updater script `bootstrap/update_package_list.sh` which will
automatically populate the table, removing uninstalled packages, adding
new ones and (making its best attempt to be) keeping the selected
targets as they are.

The git commit hook comparing installed and committed packages has also
been rewritten to use the new table and be a little simpler overall.

Fixes #2.
2022-03-09 11:13:45 +01:00
0a9271ffe8
bootstrap: Update package list
Updated package list for March 2022.
Contains some small fixes for missing packages like transmission khal
and nsxiv that I have started using more heavily and removed some
redundancies, especially around the big X switch some time back.

Generally, no huge changes.

Fixes #1.
2022-03-08 22:57:36 +01:00
ebf4274c5b
nvim: Add mapping for finding hidden files
While <leader>f searches files, now <leader><c-f> searches for hidden
files.
Simple addition but can be very useful if you work for example in
dotfolder directories or similar.

Now I just need to find a way to do the same for live_grep. The
functionality is there (live_grep can take the same `{hidden=true}`
argument as find_files) but terminal emulators don't distinguish between
<c-f> and <c-F> so there is no convenient mapping for it yet.
2022-03-08 10:15:33 +01:00
3c59ab0b61
nvim: Add telescope digraph search
Added plugin for digraph search through telescope.
When you want to enter a digraph, you can do so through the usual
method, pressing <c-k> and then entering the digraph shortcut (e.g.
`<c-k>OK` for ✓, or `<c-k>n?` for ñ) OR you simply double press
<c-k><c-k> which opens a quick telescope window to select the digraph
you want.
2022-03-08 10:06:01 +01:00
11c1383f01
nvim: Remove thesaurus mappings, Update spell map
Updated enabling spellchecker from <leader>Z to <leader>ZZ.
<leader>ZE and <leader>ZG for language specific checking stays the same
as before.

Removed some dangling mappings referring to thesaurus_query plugin which
has long been removed.
2022-03-08 09:59:49 +01:00
eb1dabc44f
nvim: Fix signcolumn jumping
When lsp or gitsigns would show me a symbol in the signcolumn the whole
editor page would jump ever so slightly to the right (one symbol, to be
precise).

This fixes it to show numbers in the signcolumn and just exchange number
for sign when something should be shown.
Makes numbers a little less readable but editing experience a whole lot
smoother.
2022-03-08 09:33:58 +01:00
645248e83a
ssh: Add host fingerprint matching
Added fingerprint matching to host functionality replacing the old
matching on ip with nc idea.
Functions essentially the same, only that now if another host
randomly/or targeted replaces the original checking target you will
still not try to be connected since the ssh fingerprint will not match.
Should make it a teensy bit more secure.
2022-03-08 09:26:24 +01:00
a49e49bbd4
nvim: Change path copy mapping
Changed mapping to copy path from `yf` to `yp`/`yP`.
Two reasons: I might be better able to remember 'yank-path' when saying
it in my head as a mnemonic, and with the `yf` mapping set I could only
yank things *to* some letter `yt<letter>` not including some letter
`yf<letter>` and it has been very subtly annoying me ever since I
introduced the mapping.
Fixed now.

Also added two variations: `yp` will yank the whole path into the `p`
register, and `yP` will only yank the filename itself.
Here's to remembering the new mapping!
2022-03-07 22:05:45 +01:00
9a1efff30c
nvim: Fix vim-slime temp file, cmp float window
Fixed hidden file creation in home directory by vim-slime. It will now
rather ask nvim to create a temporary file using that as its paste
source.

Also disabled cmp completion in 'guihua' floating windows, as per the
recommendation for navigator.lua.
2022-03-07 21:58:37 +01:00
bef798418e
qutebrowser: Update wallabag userscript
Updated wallabag userscript to be able to both use the current page when
called from qutebrowser or any arbitrary url passed as an argument.
2022-03-05 22:50:16 +01:00
26f4cc6062
taskwarrior: Change next tags, fix today report 2022-02-13 20:11:01 +01:00
0942c72714
river: Fix riverctl formatting 2022-02-13 20:10:11 +01:00