Commit graph

1375 commits

Author SHA1 Message Date
fadacf5313
nvim: Format plugins file 2022-11-15 18:10:00 +01:00
14f33460df
tmux: Improve vim-style yanking
Finally updated tmux scroll-mode yanking to use more vim-style bindings:
Use `v` to select text normally, `V` to select line-wise and `C-v` to
enable rectangle select. `y` yanks to the clipboard (and the internal
tmux register as previously).

Lastly, removed some left-over deprecated code concerning neovim cursor
shape behavior. Was already commented out but now removed completely.

HACK - the yanking to clipboard only works on wayland currently since it
uses `wl-copy` directly instead of the `clip` script. The `clip` script
is not invoked correctly with data being piped since it apparently does
not recognize that it is in a piped call?
2022-11-04 15:26:16 +01:00
892544df8e
git: Add fetchall alias
Added `git fetchall` (or `gfa`) alias which allows fetching the current
branch from all connected remotes simultaneously. May have some
unintended side effects when branches diverge, this is untested.
2022-11-04 15:14:54 +01:00
27860162b4
nvim: Update plugins for quarto 2022-11-01 16:05:33 +01:00
86fdfbe3d5
nvim: Update spellchecker 2022-11-01 16:04:54 +01:00
af6e91561b
nvim: Remove unnecessary augroup invocation 2022-11-01 16:04:37 +01:00
ff3b4ef605
nvim: Update neorg modules in use 2022-11-01 16:03:53 +01:00
0220f7f03f
nvim: Remove extraneous lsp setup for defaults 2022-11-01 16:03:30 +01:00
03a4148796
nvim: Update deprecated cmp lsp method 2022-11-01 16:03:07 +01:00
26c3124e95
nvim: Remove non-working cmp plugins 2022-11-01 16:02:35 +01:00
84714379ab
nvim: Update autopairs rules 2022-11-01 16:02:00 +01:00
7fbdbf0203
nvim: Update formatting 2022-11-01 15:56:23 +01:00
ba5d5d2561
nvim: Fix cmp cmp-pandoc completion 2022-10-09 20:25:32 +02:00
e3b2f0f0e5
nvim: Add basic neorg installation
All defaults for now except for concealer installed which prettifies
the neorg files.
2022-10-09 20:25:32 +02:00
9628ff30b9
nvim: Move cmp configuration to its own file
While it is lsp adjacent, this muddles the waters too much and the
configuration file was way too long.
2022-10-09 20:25:13 +02:00
a3b00c4693
mpv: Fix sponsorblock code and formatting
Fixed global variable naming (capitalized) and let code be formatted by
formatter.
2022-10-08 18:13:43 +02:00
485730ba83
tmux: Change todo.session burndown display
Changed to display overall accumulation of tasks again.
Would overall probably be best to display a combination of accomplished
and still to be done tasks.
2022-10-08 18:05:39 +02:00
209ac92eb5
wayland: Set fontconfig dpi for external screen
Correctly set dpi for currently connected screen of 24".
2022-10-08 18:04:49 +02:00
53c6373b00
riverwm: Fix rivercarro and brightness on launch
Automatically set brightness to 70% on startup.
Fixed options passed to rivercarro tiling manager (for current
rivercarro version, will have to be changed in future again).
2022-10-08 18:02:38 +02:00
7a18bc4a21
zsh: Make c-e always switch to editor
Added always listening to c-e to switch to edit current line in editor,
regardless of already being in vi-command mode or not.
2022-10-08 17:55:27 +02:00
cb698090c6
scripts: Fix nsxiv-rifle to work with symlinks 2022-10-08 17:54:24 +02:00
b8e97120d9
qutebrowser: Rewrite medium urls to use scribe.rip 2022-10-08 17:52:33 +02:00
b67ceb1330
git: Update commit signature key 2022-10-08 17:49:00 +02:00
179840e4c0
sh: Add vim personal knowledge base alias
Added alias `vw` to open the index page of my PKB (essentially the start
page of my wiki) using my zettelkasten.nvim plugin.
2022-08-10 09:01:09 +02:00
524272f063
services: Remove a slew of X-related services
These were largely remaining systemd services after I removed X and that
now dangle in limbo without working correctly.

Two services are not X related, which are the two dropdowns that I
rarely use anymore on riverwm. May substitute them for something similar
soon but do not need them at the moment.
2022-08-10 08:59:20 +02:00
8c00641c17
qutebrowser: Change image viewing hints from rapid
Changed the hinting style for image viewing from rapid hinting to
normal, single link hinting.

In the future I will have to think more about image viewing
shortcuts in general:

I want to be able to open the current page, a single link (default) and
multiple links in quick succession - how to accomplish without
overloading the lleader+i mapping terribly?
Plus, ideally I would want there to be a shortcut to open both links
(hint links) and images themselves (hint images) which may require even
further mappings.
2022-08-10 08:55:30 +02:00
0aeccdad4f
qutebrowser: Add maps for viewing images in nsxiv
Added two mappings: localleader+i and localleader+I (localleader being ,
in my case) to open single images or galleries in nsxiv.

The maps make use of nsxiv-rifle and mirror the setup for opening video
in mpv with +m/+M where capital letters open the current page and small
ones let you follow a link.
2022-08-06 22:12:06 +02:00
aa47068fd0
scripts: Add nsxiv-rifle script
Opens basically any path, local or remote in nsxiv.
Can take multiple paths to open all of them.

Additionally, alias whichever version of the image viewer is available
on the system as `iv`, using `nsxiv-rifle`, `nsxiv`, `sxiv` in order of
preference.
2022-08-06 22:12:00 +02:00
13ec6ed600
zsh: Fix fzf-tab to make use of refactored options
Use new option structure for fzf-tab, see fzf-tab wiki for more
information.
2022-07-08 23:54:39 +02:00
aad5d67aab
zsh: Make c-e always send zle to editor
Whereas previously, zsh needed to be in vi mode to enter the editor with
current zle now we can *always* enter the mode with c-e. Since the
combination is not used for going to the end of the line or anything
anymore anyway, we can make it a bit easier to get into vim from the
zle.
2022-07-08 23:53:06 +02:00
7356d8c58f
zsh: Use fzf for c-r, c-t and a-c binds
Make fzf the default for searching history with c-r in zsh. The
incremental history searfch has been moved to c-o instead.

Also can insert a directory path at cursor position with binding c-t
using fzf, and cd into a directory using alt-c. Will use these less
often but they're part of the package and should not be in the way as
well.
2022-07-08 23:52:51 +02:00
cbb5256e27
task: Refactor personal contexts
Moved contexts to a separate, gitignored file in case they contain
private information.
2022-07-08 22:44:44 +02:00
7973b606b9
task: Change blocking/blocked task coefficients
Up to now tasks that were blocking other tasks would just get a bump in
urgency in taskwarrior. Vice versa for tasks being blocked.

However, this could still lead to situations in which a task A blocking
task B would appear in the list (sorted by urgency) BEHIND task B. If
one task is blocking another, I can not reasonably assume to be able to
complete the one blocked, right?

So this lead to more confusion that anything and now, any task that
blocks another task simply inherits its urgency, appearing directly
before the other task in the list. Should solve the problem, though they
may not be able to receive their own urgencies anymore, should that be
important.
2022-07-08 22:37:06 +02:00
300bb572b3
task: Fix taskopen note naming regression
Fixed taskopen looking for `.txt` extension notes when so far we only
used `.md` extension notes instead. This switches it back.
2022-07-08 22:28:00 +02:00
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