Commit graph

28 commits

Author SHA1 Message Date
2f056a8701
nvim: Update lsp lua configuration
Uses arch aur-packaged installation of sumneko_lua, and invokes it for
any lua file.
Takes care of some additional configuration to enable easier programming
for neovim itself.
2021-02-19 16:54:08 +01:00
da52dad3d7
zsh: Switch from powerlevel10k to pure prompt
Switched theme of zsh, just to declutter a little and make startup
slightly faster.

Removed nvm from automatically initializing to majorly speed up zsh
startup times - removing around 750ms on my system.
TODO could potentially move to a conditional startup system, in which
nvm only gets sourced on its first invocation or similar workarounds.
2021-02-19 12:45:36 +01:00
8cb3252cf1
sh: Switch yay to paru
Removed outdated `syu` symlink which just hooks into topgrade.
Replaced it with simple function that tries for topgrade, paru, yay,
pacman, in that order. Can still be invoked with simple `syu` command,
but *only* through interactive terminal use.

Switched git pre-commit hook to default to paru instead of yay when
compiling installed package lists for dotfile commits.
2020-12-22 19:54:38 +01:00
06e67213ac
bootstrap: Slightly update package list 2020-11-25 11:49:15 +01:00
eaec90379d
nvim: Improve lsp source chaining
Lsp will by default invoke most of its sources simultaneously (one after
the other if no completions are found for the first), but this is
disabled for pandoc.

In pandoc, only the buffer and lsp sources are invoked (the first
chain), since bibcite will take a while to compile the cite keys.
To invoke bibcite in pandoc, use c-j/c-k when in the completion menu,
and they will be calculated.

This may be removed if a faster compilation for bibtex citekeys is
found.
2020-10-02 11:56:31 +02:00
0d00953f30
mail: Add afew automatic tagging
Added hook for afew tagging for local mail.

Mail will now arrive tagged only as 'new' by notmuch.
afew will then tag the mail accordingly as inbox unread when it is
personal mail.

It will additionally filter out anything marked as spam, or e-mail
containing a List-Id header, which will be tagged as 'list' and not
arrive in the inbox. This filters out anything arriving from a mailing
list from the inbox.

Removed the archive tag -- anything not in the inbox, and not marked as
list is instead used as an automatic archive.

Mail sent by myself will be automatically tagged as 'sent' and also not
show up in the mailbox.
2020-09-23 17:55:06 +02:00
7871442bcd
mail: Initial commit 2020-09-23 17:55:05 +02:00
def968aefd
sxhkd: Switch to rofi-pass and pavolume invocation
Switched sxhkd shortcut from rofi-gopass to new rofi-pass
implementation.

Additionally switched from pulsemixer to pavolume for media key volume
control. Pulsemixer works well as a tui application, but its cli
implementation is unbearably slow (on my setup at the very least).

After pressing the volume up/down/mute key it could take up to 3 seconds
to take effect. With pavolume this change happens almost
instantaneously, and it displays a libnotify message on top (can be
disabled).
2020-09-12 17:54:19 +02:00
717f2a13d6
X: Remove xdg-user-dirs, manually set dirs with sh
We already have a file which is strictly dedicated to xdg setting
environment variables and taking care of folder creations.

Using xdg-user-dirs as an application was basically doubling up on that.
Also, I don't need my directories localized - I just want them to point
to exactly where they should.
2020-07-29 08:13:31 +02:00
a505976485
[nvim] Add python linting, suggestions to vim
Uses python-black, python-pylint, and python-jedi to enable
functionality.
2020-07-10 10:15:03 +02:00
4f4e67ff1c
[repo] Add & update docs, fix install script dirs 2020-07-08 13:51:27 +02:00
fc121e7fd0
[zsh] Expand fzf-tab functionality
Will now contain additional functionality for ps, kill, and cd (preview
etc). Will also color things which have LS_COLORS set (done
automatically through lscolors-git file).
2020-06-20 00:17:45 +02:00
d6a2ee7b8a
[git] Add diff-so-fancy as git diff
Added package diff-so-fancy and make diff use it by default for its
diffs by setting it as its diff-pager.

Added sanity function dsf which invokes diff-so-fancy if it exists or
degrades gracefully if it does not. Use this function for all git diff
needs.

Pre-fill the pager search term in git to enable jumping between changed
files with n/N.
2020-05-28 13:51:02 +02:00
69f4cf3d75
[pkg] Add nmap, brill font, an2linux server
The brill font works well for web display reading in specific sites, as
well as legible pdf rendering.

Nmap contains ncat utility which allows cat-ing to sockets over the net,
useful for sending the local clipboard to a smartphone listening on
telnet.

an2linuxserver finally allows easy display of Android notifications when
running the corresponding android client application on the phone. It
basically functions as a light-weight kdeconnect alternative with only
the notification functionality.
2020-05-27 20:57:19 +02:00
96475bcbaa
[pkg] Update package list 2020-05-26 15:48:45 +02:00
4634655619 Fix README image paths and dot description
Fixed paths to images for new repository dotfile delineation. Added
quick readme blurb explaining differece of normal and dotfile
directories.
Readme still explained old bare-repository directory structure. Rewrote
sentences to conform to new structure.

Removed underscore from bootstrap directory, since the repository does
not organize itself through underscore prefixes anymore.
Fixed package gathering git-hook to respect new bootstrap directory.
2020-02-11 09:33:18 +00:00
68b0219354 Rename bootstrap directory
Renamed bootstrap directory to _bootstrap to conform to default ignore
pattern of autostow.sh, and make it visually clear that this is a
special directory, not one used for the dotfiles itself.
2020-01-30 13:29:03 +01:00
9932202704 Increase autostow.sh version, refactor print statements 2020-01-30 13:24:51 +01:00
bba4e1d71f Fix ignore pattern search on empty ignore variable
The default ignore pattern would not be searched when the additional
variable was kept empty. This fixes it to always seach for the pattern,
regardless of any other variables.
2020-01-30 13:21:01 +01:00
a3a1c4a5bd Add autostow.sh ignore pattern to underscore dirs
autostow.sh will automatically ignore any directories it finds that
begin with an underscore. This will make it possible to remove the
default entires of AUTOSTOW_IGNORED_DIRS variable and thus remove some
of the magic and make autostow.sh behavior more predictable.
2020-01-30 12:51:48 +01:00
4dfb9767ee Add dryrun capability to autostow.sh
Invoking a dry-run with `autostow.sh -n` will simply print out the
directories it would operate on, and those it would ignore and exit.
Useful for debugging, not much more.
2020-01-30 12:50:37 +01:00
ea203e54c1 Merge branch 'master' of gitlab.com:marty-oehme/dotfiles 2020-01-07 14:07:13 +01:00
05af92a2e5 Add several packages to default install 2020-01-07 14:05:05 +01:00
3a70989a96 Add ntp package to default install 2020-01-06 17:24:29 +01:00
6fd8fcf8ca Restructure bootstrap dir, fix install.sh
With bootstrap files no longer linked to config directory, we can have
an easier directory structure with less nesting for them. Install.sh
needs to use the new structure when calling its bootstrap scripts.
2019-12-30 11:04:54 +01:00
dba47b8e20 Allow autostow.sh to selectively ignore directories
By default autostow.sh ignores assets/ and bootstrap/ directories. This
behavior can be changed through the `AUTOSTOW_IGNORED_DIRS` environment
variable. It should contain the name of the directories to ignore,
separated by a `:`.
2019-12-30 11:00:00 +01:00
7e0d5440d8 Add basic bootstrap routine 2019-12-30 10:20:17 +01:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00