Commit Graph

1196 Commits

Author SHA1 Message Date
Marty Oehme 88336a433a
bootstrap: Disable system USB mouse wakeups
My (un-branded) usb mouse prevented the system from going into
suspend/hibernation by sending intermittent wakeup signals.

This system configuration option simply disables the device from sending
those wakeup signals. Used with superuser stow installation method.
2023-03-22 11:53:08 +01:00
Marty Oehme f6a9006c07
mpv: Make mpv automatic quality setting explicit 2023-03-22 11:52:14 +01:00
Marty Oehme 337b250aba
qutebrowser: Fix bare redirect exception 2023-03-22 11:48:57 +01:00
Marty Oehme a16e0eead7
wezterm: Add cursive italics
Set up wezterm to continue to use Iosevka for everything *except*
italics (in all weights) which will instead be displayed by the Victor
font.
This ultimately results in cursive fonts for italics and Iosevka for
everything else, very pretty.
2023-03-22 11:14:25 +01:00
Marty Oehme 36d411dafa
nvim: Format files 2023-03-22 10:35:21 +01:00
Marty Oehme 22cfa037df
nvim: Add fidget.nvim
Added fidget plugin which shows the current loading status of LSPs. Only
works for a few LSP (so far), including lua and python. Should
automatically pick up new implementations on update. Will display a
small loading notification in the lower right corner, useful to display
status for those situations where LSP loading takes a long time (e.g.
rust compilation requirements or a large python environment).

FIXME Does not work for each python environment startup yet, and I am
not sure why - sometimes just does not display its loading startup.
2023-03-22 10:32:20 +01:00
Marty Oehme 643d282bac
nvim: Improve cmdline completion
When completing in command line I want the completion canditates to be
displayed, but *not* selected on confirmation. By doing so, it makes it
almost impossible to quickly quit with ':q' or write with ':w' for
example, as those always try to expand themselves automatically into
completion items.

This commit changes the default behavior for command mode to show
completions but not auto accept any on confirmation, instead simply
invoking whatever is currently on the command line (as if we had no
completion plugin running).
2023-03-22 10:31:37 +01:00
Marty Oehme ce9f101024
nvim: Unify lsp mappings into local +l prefix
Whereas previously we had lsp-related mappings both on <localleader>l...
and g... mappings, they are now all unified under the <localleader>l
prefix group. Some mnemonics unfortunately had to give way to a weaker
version of themselves (definition becomes de[f]inition, implementation
becomes i[m]plementation) but overall I believe this to be much more
cohesive for my future lsp usage. With which-key enabled and everything
under the +l group we should be able to easily adapt to the new
mappings.

Additionally, some mappings will invoke the telescope version of their
lsp command if telescope is indeed installed, otherwise fall back to the
native neovim lsp implementation.
2023-03-22 10:28:13 +01:00
Marty Oehme d1b0dfe112
nvim: Improve diagnostics gutter rendering 2023-03-22 10:21:52 +01:00
Marty Oehme 6b28e6417b
nvim: Prepare lsp-zero switch to v2 branch
Switched the configuration of lsp-zero to its less integrated v2
version. Switched back to manually configuring most of nvim-cmp.

Addded some manual formatting to cmp which displays completion kind as
icons not as text.
Manually add luasnip integration.
2023-03-22 08:30:04 +01:00
Marty Oehme 39b495affd
nvim: Update lockfile 2023-03-21 18:58:51 +01:00
Marty Oehme 617872463b
qutebrowser: Add annas archive search engine 2023-03-21 18:58:35 +01:00
Marty Oehme 0a90be6155
newsboat: Add simple settings 2023-03-21 18:58:16 +01:00
Marty Oehme e6d17ab632
wezterm: Yank to clipboard by default 2023-03-21 18:57:38 +01:00
Marty Oehme 395ae723b9
qutebrowser: Update redirects 2023-03-21 18:56:17 +01:00
Marty Oehme a276251aa7
bootstrap: Update stable packages 2023-03-21 18:52:50 +01:00
Marty Oehme b52ecda093
terminal: Change timg for viu 2023-03-21 18:26:32 +01:00
Marty Oehme 384ff59a3f
vifm: Move external file operations to localleader prefix 2023-03-19 14:55:58 +01:00
Marty Oehme 3795b20a59
vifm: Add new tab mapping 2023-03-19 14:55:07 +01:00
Marty Oehme e464c5000a
vifm: Improve prefix suggestions display
If given <nop> as prefix mapping, the suggestions box shows *all*
mappings that exist in the program. By removing the <nop> we make the
key do its usual action but at the same time restrict the suggestions
being displayed to those actually following the prefix.
2023-03-19 14:53:47 +01:00
Marty Oehme 0612c74b91
vifm: Add ellipses ... to truncated filenames 2023-03-19 14:52:52 +01:00
Marty Oehme 5a04f34f97
vifm: Update library path to general library dir 2023-03-19 14:52:28 +01:00
Marty Oehme dc20b23b0a
vifm: Set rg as program to grep with 2023-03-19 14:52:11 +01:00
Marty Oehme 98892fbc89
vifm: Change delay until map suggestions are shown 2023-03-19 14:51:01 +01:00
Marty Oehme 6a4f2e6ecc
papis: Change notes to markdown, add ee library 2023-03-19 14:50:25 +01:00
Marty Oehme b3aa44f7a5
nvim: Update plugin lockfile 2023-03-19 14:49:38 +01:00
Marty Oehme 0189753b18
nvim: Update spell dict 2023-03-19 14:49:24 +01:00
Marty Oehme 917d80b7f2
nvim: Change spell fix shortcut to z mapping 2023-03-19 14:48:25 +01:00
Marty Oehme 7a6575f760
nvim: Add easyread speed reading plugin 2023-03-19 14:47:56 +01:00
Marty Oehme 0d5eeadef0
nvim: Remove wrapping notification, add toggle map 2023-03-19 14:47:26 +01:00
Marty Oehme b8eb02ef6c
nvim: Add arduino language server wrapping 2023-03-19 14:46:26 +01:00
Marty Oehme 6dd08327d8
qutebrowser: Switch youtube search engine back to yewtube 2023-03-09 21:19:27 +01:00
Marty Oehme c59b617da5
qutebrowser: Fix external textbox editor
Fixed text not flowing to the external (nvim) editor and saved text not
being brought back into qutebrowser.
Same issue as here https://github.com/qutebrowser/qutebrowser/issues/6707
it essentially amounts to the terminal not having its own running
process id which qutebrowser uses to know when the application closes.
Thus, it thinks it closes immediately and deletes the temporary file. No
changes are brought back and the file is empty for the editor.
With the fix, this does not happen anymore.
2023-03-09 21:17:24 +01:00
Marty Oehme 9d449af08b
flavours: Switch bg/fg color around for wezterm tab 2023-03-07 15:04:16 +01:00
Marty Oehme 46cdb519ea
flavours: Call bemenu selection from wrapper function
If we call the listing and applying function directly we either select a
random colorscheme on *no* selection or we have to make use of either
xargs GNU functionality or something like moreutils ifne to only select
color schemes on selection.

Can additionally set a random theme (if selection is 'random') or a
random light theme (if selection is 'light').
2023-03-07 12:20:41 +01:00
Marty Oehme c31e441003
wezterm: Use default inactive pane styling 2023-03-07 12:08:09 +01:00
Marty Oehme 3e19a38b38
styler: Remove from repo 2023-03-07 12:07:46 +01:00
Marty Oehme 3827ba15b3
wezterm: Style tabbar with flavours 2023-03-07 11:44:27 +01:00
Marty Oehme f1b218da95
bootstrap: Update stable packages 2023-03-07 11:10:03 +01:00
Marty Oehme b800d8f1eb
desktop: Add flavours program to set colors
Switching from my custom, brittle, styling implementation `styler` to
the wonder `flavours` program which does exactly the same only with more
clarity, faster and - I would presume - more stable.
2023-03-07 11:09:47 +01:00
Marty Oehme 2c0d41f4af
nvim: Load zathura colors from xdg state directory 2023-03-07 10:51:22 +01:00
Marty Oehme 6f3ac3d31f
nvim: Move Navigator to dev version
Since Navigator.nvim only implements wezterm compatibility in its main
branch as of now, we explicitly switch away from its stable version for
now.
2023-03-07 10:50:32 +01:00
Marty Oehme 74fdc4bc8f
nvim: Update plugins 2023-03-07 10:49:04 +01:00
Marty Oehme 382bcdba72
nvim: Hook treesitter commentstrings into comment maps 2023-03-07 10:46:25 +01:00
Marty Oehme 72514b2a5e
nvim: Update rainbow brackets to maintained fork 2023-03-07 10:45:43 +01:00
Marty Oehme 954ccf5e89
nvim: Improve dynamic colorscheme sourcing 2023-03-07 10:41:47 +01:00
Marty Oehme 09af447747
multimedia: Scrub beets configuration 2023-03-06 11:35:13 +01:00
Marty Oehme ec20d637c0
qutebrowser: Source colorscheme file from xdg state dir 2023-03-03 18:48:55 +01:00
Marty Oehme 22341e7988
wezterm: Dynamically load colors from scheme file 2023-03-03 18:41:06 +01:00
Marty Oehme 25d37d17b3
nvim: Dynamically source colorscheme from file
Neovim will source the `colorscheme.lua` file in its state directory on
startup, as well as whenever the file contents are changed.
This allows any colorscheme definition to be put into the file and vim
will apply it as soon as the file contents change.
2023-03-03 18:35:27 +01:00