Commit graph

1658 commits

Author SHA1 Message Date
7f35be07f7
waybar: Declutter status icons
Slightly declutter the status icons: Only display an icon which shows
the rough state until you hover over or activate alternative modes
(rightclick on respective icon) which show more detail.
2025-01-21 11:31:29 +01:00
1ed9e44ffa
bootstrap: Move to bottom for system monitoring
Removed btop and glances since I've never used them in any serious
capacity. With my top being aliased to any of the monitors, I will only
really make use of bottom and htop in the foreseeable future.
2025-01-05 16:45:01 +01:00
5b723ddfb0
sh: Switch from sfz to miniserve in serve alias
Serve alias (now also with a more appropriately named file) will now
look for miniserve before any other static file serve program. I also
replaced sfz with miniserve in my installed programs. That is because
sfz has been unmaintained for a long time and miniserve completely
fulfills all my needs while still being maintained and recommended.
2025-01-05 16:43:52 +01:00
a0802d69f8
terminal: Add starship prompt configuration
I have been relying on my starship configuration for a *long* time now,
but seemingly never added it into my dotfiles. This rectifies that.
2025-01-04 14:37:10 +01:00
6bc3f0e8c1
vifm: Make external commands conditional on executables
Only create shortcuts for external commands if those have associated
executables on the system. If we don't have an `atool` installed, it
does not make sense to have shortcuts for invoking it - likewise for
vidir, find, and so on.
2025-01-04 14:36:23 +01:00
086ad20add
vifm: Switch from vidir to edir invocation
edir is a slightly improved version of the morutils tool 'vidir'. We
switch to it to change directories, files and only sub-directories
(Invoked with ,rr / ,rf / ,rd respectively).
2025-01-04 14:19:44 +01:00
a70f1d226a
sh: Add automatic top program selection
When invoking top it will automatically alias to a selection of newer
system monitoring software instead, using the first preferred
application it finds (e.g. bottom over btop++ over gotop over glances
and so on, ending with regular top).
2025-01-04 11:38:56 +01:00
2c1487ab93
repo: Remove traces of tmux configuration
While I never disliked tmux I have not been using it for absolute ages
now, ever since starting to multiplex with wezterm. Wezterm can (at
least with my current setup) *not* replace all tmux functionality -
especially running multiple sessions in a detachable way on a remote
server - but I have never needed those in a long time now.

Detachable sessions I can create instead with `abduco`.
2025-01-04 10:57:48 +01:00
0237b7d569
qutebrowser: Replace defunct qwant maps with facilmap
I would love to replace it with osmapp instead but have not found a way
to send a query in a qutebrowser-enabled post format.
2025-01-04 10:48:16 +01:00
dc067c860d
vifm: Add zoxide integration
If zoxide is found on the system, vifm will automatically add any paths
traversed into the zoxide database.
It will also have a new internal command 'zoxide' with which you can
open a menu to search all zoxide-known paths - it is also added as a
mapping to <space>z.
2025-01-04 10:45:06 +01:00
77348e09c7
mpv: Update legacy options 2025-01-03 22:33:57 +01:00
81bf5b46e5
vifm: Prefer vimiv to other viewers 2025-01-03 22:33:16 +01:00
59677f3b9c
qutebrowser: Include sessions into qutedmenu script
If 'yq' is found on the system, the qutedmenu script will now also
traverse any saved sessions for urls (either active or historic) and
display those as well.

Also added a simple check for the sqlite3 and yq tools and spit out a
warning if either isn't found. Program will continue unhindered and just
ignore the history/session urls respectively.
2025-01-03 22:32:55 +01:00
4aab62cd80
nvim: Update plugins 2024-12-01 15:25:38 +01:00
0d7edd4e19
nvim: Improve marksman zk link handling
Instead of completely detaching marksman as soon as we are in a
zettelkasten directory, this disables displaying the 'non-existent link'
diagnostic instead. Only disables signs and virtual_text for now (still
displayed as diagnostic in e.g. Trouble windows) but should provide a
good first step into more fine-grained control.
Oh if only marksman just provided a flag to toggle this feature..
2024-12-01 15:25:24 +01:00
0bbfeb2c68
nvim: Add improved helpfile rendering
Advanced rendering like the markdown render view.
2024-12-01 15:23:48 +01:00
3e0116a1c9
nvim: Replace aerial outliner with Trouble
Since we already use trouble.nvim we can also make it mimic aerial
views.
2024-12-01 15:23:22 +01:00
b57f895093
nvim: Disable line length diagnostic for md files
By default disable the line length for any markdown file. I never use it
and I always turn it off. If I need it for a specific project I can
still figure out how to make the configuration override this.
2024-12-01 15:22:01 +01:00
73f9322a96
nvim: Render markdown todo active and deleted state
Additionally to the default states:

- [ ] new/empty entry
- [x] completed entry

we render two more:

- [-] active entry
- [_] deleted/not applicable entry
2024-11-22 21:18:22 +01:00
75a32b2a54
nvim: Fix deprecated typescript lsp mason name 2024-11-22 21:16:39 +01:00
c14710aa98
vcs: Fix writing module structure 2024-09-19 11:18:54 +02:00
fee876b87f
vcs: Fix jj program structure 2024-09-19 11:04:54 +02:00
f6b1c5ff2e
vcs: Fix git program structure 2024-09-19 11:03:36 +02:00
98bfbca738
nvim: Change nvim tree to neotree plugin 2024-09-19 10:39:23 +02:00
11d6a08bcc
vcs: Set default diff editor
Using neovim 'hunk.nvim' plugin
2024-09-19 10:07:32 +02:00
bfb4fadee0
vcs: Add aliases for jj 2024-09-19 10:07:04 +02:00
bcd93eb237
vcs: Restructure vcs module
Just like writing and qutebrowser modules, restructured the version
control software module to make more use of dotter's ability to
precisely link files. All contained programs have a top-level directory
and all the files that correspond to that specific software lie beneath
in the directory tree.
2024-09-18 17:38:44 +02:00
0b6f0c235d
vcs: Add jujutsu config file 2024-09-18 17:28:13 +02:00
4aec6b9ba3
vcs: Rename from git to support multiple vcs 2024-09-18 17:25:12 +02:00
1cce1a9a38
writing: Remove bib-due scripts and update README
Removed the left-over bib-due scripts. They were neat and fun when I
wrote them but they are not useful for me anymore. Additionally they are
very brittle and I do not want to deal with fixing or updating them.
2024-09-18 16:49:48 +02:00
85c152a07c
writing: Restructure module layout per-program
Similarly to the qutebrowser module we change the layout to have a
program name at the top-level and all required files for that specific
program within, whether they reside within .config, .local or anywhere
else.
We use dotter mappings to achieve this.
2024-09-18 16:43:15 +02:00
0903e7e443
writing: Remove pubs configuration
I have not used pubs (the reference management software) for year(s) now
and there is little chance I will in the near future. This removes the
leftover configuration.
2024-09-18 16:41:49 +02:00
b4edfe36e6
git: Add lazygit lg alias 2024-09-18 16:25:01 +02:00
15415ab7fa
papis: Add fediverse library
Individual sub-libraries should probably really be created in a dynamic
python configuration file, but for now we just add it manually.
2024-09-18 16:23:47 +02:00
5dff1db3db
river: Add monocle mapping if running filtile layout
When using filtile layout it also gives the option of using 'monocle'
mode which is similar to fullscreen in that it only shows one window at
a time (which also occupies the full screen, except for the statusbar)
but you can cycle between the windows shown as you would usually between
the different views in a tag. You can imagine the windows 'stacked' on
top of each other and cycling which one is on top or on the bottom.

Toggled with `Mod+Shift+F`, shifting up from fullscreen mode.

TODO: Ideally, it would be accompanied by an indicator in the statusbar
but I have no time to create one currently. Without one, it is sometimes
hard to remember that other windows exist on the tag after a while.
2024-09-16 20:33:17 +02:00
19bafa910e
river: Improve floating mode mappings
Simplify the system of mappings in floating:

- HJKL for moving a floating window around.
- C-HJKL for quickly snapping to screen edges (as before)
- Mod-HJKL for resizing the floating window.
- Mod-Shift-HJKL for changing the tag's setting:
  - HL to change size ratio of main/side pane
  - JK to change amount of windows in main pane
2024-09-16 20:29:55 +02:00
1cc47ac7df
river: Add passhthrough mode to disable river keys
`super+F11` enters passthrough mode (displayed on waybar) which disables
all normal keybinds that river listens to and - surprise - passes them
through to whatever application is running. The same binding exits the
mode.
2024-09-16 20:11:56 +02:00
290ddbf5a8
nvim: Format lua files 2024-09-15 22:14:38 +02:00
2ac6842720
sh: Add make-and-enter directory function
`mcd` will, similarly to `md` create a directory and all the necessary
top-level directories but, unlike `md`, afterwards also enter the
created directory for the current shell.
2024-09-15 22:13:55 +02:00
45e1a8bb2f
nvim: Update plugins 2024-09-15 22:12:21 +02:00
f15a64c121
nvim: Extract statusline plugin into separate file
Extract lualine into its own 'statusline.lua' plugin file. This makes
the ui plugin file a little more lean but also prepares the way of
tinkering with statusline alternatives, like heirline.
2024-09-15 22:11:20 +02:00
03f18bea3a
nvim: Simplify prose filetype grouping
Simply have a markdown-like group and a org-like group for the plugins
that only target those specific prose modes.
2024-09-15 22:09:58 +02:00
65d5ac12ef
nvim: Load mini files earlier
Since sometimes it is necessary to have correct access to the files
functionality earlier than was possible with the old lazy loading this
instead loads it at program start as well.
2024-09-15 22:09:18 +02:00
44c3361c10
nvim: Add golang and typst LSP and formatters 2024-09-15 22:08:23 +02:00
0d41481763
river: Fix filter rules for new version
Riverwm changed the way filters are applied at some point, this fixes
the applied rules (for floating and client side decoration windows).
2024-09-15 22:06:46 +02:00
ff7adb859b
nvim: Move undotree to pickers plugins 2024-08-15 18:37:37 +02:00
56951911f6
nvim: Check trouble before adding telescope maps
Check that the trouble plugin exists before adding its maps to the
telescope buffer. Should probably go into trouble setup instead but
works as a quick safeguard for now.
2024-08-15 09:40:47 +02:00
ec791fda5f
nvim: Move next/prev spell error to z Z keys
From [s ]s [S ]S, we move all to [z ]z [Z ]Z.
2024-08-15 09:33:59 +02:00
787c0b0fc4
nvim: Deprecate buffer-option settings group for switches
Remove `<localleader>s` 'set' group of mappings (setting buffer wrapping
mode, setting colorizing) and replace it with explicit on/off mappings
via [o<setting> and ]o<setting>.

Wrapping can be set to soft with `[ow`, hard with `]ow`.
Colorizer can be disabled with `[oc`, enabled with `]oc`.
Colorizer can highlight virtual text with `[oC`, highlight background
with `]oC`.
2024-08-15 08:53:30 +02:00
b574ba5947
nvim: Rename core plugin spec to base.lua
This should make it hopefully still clear that they are expected plugins
for the configuration while also delineating it from the 'core' module
which bootstraps lazy and sets fundamental options and so on.
2024-08-15 08:29:40 +02:00