Commit Graph

978 Commits

Author SHA1 Message Date
Marty Oehme e418e2508f
git: Add sendmail configuration
Added configuration to use git for direct patch contributions through
mail. Uses msmtp for mail agent.
2022-11-25 16:44:43 +01:00
Marty Oehme 4b93568831
bootstrap: Update installed package list 2022-11-23 12:23:04 +01:00
Marty Oehme 28da05b696
mail: Add ics/calendar preview to neomutt
Added the automatic display of calendar events or ics files to neomutt,
using the mutt-ics script (available in AUR).

Will display start/end time and participants directly in mail body.
2022-11-23 12:13:54 +01:00
Marty Oehme fadacf5313
nvim: Format plugins file 2022-11-15 18:10:00 +01:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 27860162b4
nvim: Update plugins for quarto 2022-11-01 16:05:33 +01:00
Marty Oehme 86fdfbe3d5
nvim: Update spellchecker 2022-11-01 16:04:54 +01:00
Marty Oehme af6e91561b
nvim: Remove unnecessary augroup invocation 2022-11-01 16:04:37 +01:00
Marty Oehme ff3b4ef605
nvim: Update neorg modules in use 2022-11-01 16:03:53 +01:00
Marty Oehme 0220f7f03f
nvim: Remove extraneous lsp setup for defaults 2022-11-01 16:03:30 +01:00
Marty Oehme 03a4148796
nvim: Update deprecated cmp lsp method 2022-11-01 16:03:07 +01:00
Marty Oehme 26c3124e95
nvim: Remove non-working cmp plugins 2022-11-01 16:02:35 +01:00
Marty Oehme 84714379ab
nvim: Update autopairs rules 2022-11-01 16:02:00 +01:00
Marty Oehme 7fbdbf0203
nvim: Update formatting 2022-11-01 15:56:23 +01:00
Marty Oehme ba5d5d2561
nvim: Fix cmp cmp-pandoc completion 2022-10-09 20:25:32 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme cb698090c6
scripts: Fix nsxiv-rifle to work with symlinks 2022-10-08 17:54:24 +02:00
Marty Oehme b8e97120d9
qutebrowser: Rewrite medium urls to use scribe.rip 2022-10-08 17:52:33 +02:00
Marty Oehme b67ceb1330
git: Update commit signature key 2022-10-08 17:49:00 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 03ec445076
sh: Fix XDG directory use for an array of apps 2022-06-28 11:30:46 +02:00
Marty Oehme 4bff036d1d
bash: Fix loading bash specific profile and env files 2022-06-28 10:24:57 +02:00
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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
Marty Oehme 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