Commit Graph

128 Commits

Author SHA1 Message Date
c1430386c0 Add rules to detect filetype of muttrc and offlineimap
This change fixes also the type-detection for files in the
`dotfiles`-dir. That was especially annoying for the git-config files.
2025-10-07 16:36:40 +02:00
c6896587c9 Apply direnv if available to load env-vars on demand from .envrc files
Reference: https://direnv.net/
2025-09-29 03:18:23 +02:00
79aeeaf8a9 Switch off screen after 1 hour w/o interaction 2025-09-26 19:03:57 +02:00
c01578edaf Simpify handling of ansible-vault
I barely have any file valled "vault.ini" or "vault.yml" except of in
the ansible context. So, this treat all these files as ansible-vault
files. The other change affects the way we're looking for an ansible.cfg
file. 1st we check if it's present in the current working dir, if it's
missing there we check if one exists in the same directory as the
vault-file itself. If we do not find any files then we give up and do
not decrypt/encrypt the vault-file. Note, that this also means that we
need an ansible.cfg for the vault to be encrypted/decrypted, no other
method is implemented.
2025-09-21 18:36:58 +02:00
ff2bdb2eca Initialize zoxide correctly, so I get proper completions
I used zoxide wrong all the time... By simply initiating it correctly it
immediately get's smarter and better. Imagine you have a dir like this:

  ~/deep/level/nested/but-with-very-specific-name/xy11-with-many-more

Imagine further that in your current directory is nothing that starts
with `xy`, then you only have to enter `cd xy` and zoxide will figure
out that you meant the deeply nested complicated name and change the
directory to there! - How awesome is that!

So, keep in mind use zoxide correct and it becomes easy to use!
2025-09-18 15:09:39 +02:00
ff9dd116c2 Massive cleanup of my bash-config
The most important change is that I no longer create completions for fly
and kubectl automatically. Furthermore the automatic creation of a
cronjob to empty the downloads-folder is also gone. - These
funtionalities better fit the initial dev-machine setup, so I gonna move
them over to there soon.
2025-09-17 23:39:49 +02:00
0a307f6051 Use acpi_video0 card to determine brigtness in polybar 2025-09-16 18:10:08 +02:00
2f23034101 Improve descriptions of key-mappings in neovim and align git-shortcuts
I struggle to remember certain shortcuts sometimes. In these cases I
rely on the "whichkey" plugin which shows a short description of for
each possible keystroke in vim. Though I was lazy and didn't maintain
these everywhere, so this change fixes that. Hopefully I can remeber all
the keys better now.

Furthermore this change contains some slight remappings regarding the
git-keymappings. I used fugitive for most of that in the past, but I saw
more potential using telescope in certain cases, especially navigating
the history.
2025-09-14 20:18:35 +02:00
a9046ba8bd Update readme to mention the dev-machine setup which install these files automatically 2025-09-13 05:22:48 +02:00
4fe4ece802 Add automatic encrypt/decrypt for ansible-vaults in vim 2025-09-12 21:41:34 +02:00
958d21772d Always adjust the x-settings when restarting i3
I still do not get the right location to change these settings and on
each i3-restart (which I do regulary) the settings get set back.

Therefor I change them to be executed on _each_ restart.
2025-09-09 19:07:51 +02:00
c0498b12ac Use system rofi/autorandr instead of custom tailerd shell-scripts
I'd used custom shell-scripts for a while though since I saved them with
the exact same name as the actual program I confused myself. E.g. when I
tried to use rofi to provide me a dialog to choose from some options.
So, I discarded this approach :)
2025-09-09 19:05:12 +02:00
ff01db14f4 Improve git hook to remove invalid links
In case a file is moved to another location this change will most likely
end in a dangling link in the home-dir. This change fixes this by
removing links automatically which are off because the target-file has
been moved to another location.
2025-09-09 00:57:17 +02:00
0fb4c5da60 Fix message about uncommited dotfile-changes to use git instead of dated config-command 2025-09-09 00:50:26 +02:00
f1ae24d120 Switch from the bare repository method to stow to manage my dotfiles
I finally made the switch from the bare-repository method to stow to
manage my dotfiles. This brings some nice benefits, e.g. I can savely
say what file is in my dotfiles and what is missing out. Furthermore the
usage is _way_ simpler the before. Though one downside is the more
complicated removal of files, but I've documented a way which feels nice
to me as well. Finally I removed my old setup-script since I switched to
an ansible-setup anyway. So this config will eventually be applied
ansible and I don't have to care about installed software in this repo
anymore!

Reference: https://www.gnu.org/software/stow/
Reference: https://news.ycombinator.com/item?id=11071754
Reference: https://gitea.nehrke.info/nemoinho/dev-machine/
2025-09-05 17:55:27 +02:00
78660ba340 Comic Mono Sans as default font in urxvt 2025-09-05 14:41:57 +02:00
6fc6551b02 Use lesspipe ad less-preprocessor
On typical linux distros `lesspipe` is already shipped as part of less.
Though on macos it isn't, but I found out that it can be isntalled via
brew. So, I have no reason to not use and can savely ditch my custom
lessfilter.
2025-09-05 14:41:57 +02:00
6ee0f000d7 Use zoxide as replacement for cd and integrate fzf into history etc. 2025-09-05 14:27:12 +02:00
ed76776866 Set timeout to repeat input on key-press to 250ms
I struggled to distinguish between a simple key-stroke and a pressed
key, which should lead to repeat inputs. Initially I copied this value
from my macos-settings where I use the same keyboard, but it turns out
that the timing is somehow different.

Remember set this to 200ms on macos and 250ms on X11.

Note, I have no idea which one is more accurate, but since everything on
a mac feels (and is) slow I would guess linux is correct and apple lies.
2025-09-05 14:10:16 +02:00
7a3efc7ac3 Improve fuzzy search in nvim-telescope by using fzf 2025-09-05 14:07:20 +02:00
8adf1673b9 Add plantuml support to nvim, even rendering by command :Soil 2025-09-05 14:06:28 +02:00
34ccc9e424 Update nvim deps 2025-09-05 14:04:11 +02:00
597296ead3 Add spell files for vim language checks (germand, english) 2025-09-05 14:02:13 +02:00
1650b067a1 Add alias ff and ffz for fzf and fzf into vim 2025-08-26 22:17:27 +02:00
9e7f6ee0bb Fix formatting 2025-08-26 22:13:01 +02:00
86bd90038d Start new wiki-diary entries with a skeleton and do not apply vimwiki-filetype to markdown-files in vim 2025-08-26 19:52:14 +02:00
6491093ae3 Automatically apply skeleton snippets to certain filetypes if configured 2025-08-26 03:39:35 +02:00
0dc1eeaaf5 Reformat my i3-config a bit to make better use of vim folds 2025-08-25 19:20:59 +02:00
577610166f Update my vim-git integration to navigate easier through it and fix missing config for gitea 2025-08-25 18:30:52 +02:00
ccb6bc9b1a Make <Leader>we a global shortcut to create diary entries in vim 2025-08-25 18:29:23 +02:00
634727de12 fix vim-autocmd, I had reused the same augroup and removed all configs that way :D 2025-08-25 18:28:09 +02:00
f491ace3af Add i3-config (why not earlier???????) 2025-08-25 16:25:40 +02:00
e5618f82a3 Update nvim-plugins 2025-08-24 20:37:00 +02:00
9e417d2064 Make terminal non-transparent on macos again, simply a mood 2025-08-24 20:34:54 +02:00
02390275ca Allow for search of word under cursor with telescope via <Space>* or <Space># and show git details in telescope 2025-08-24 20:34:54 +02:00
55323212b7 Format typescript files on write automatically with eslint in nvim
This makes it easier for me, since I don't have to care about the
formatting all the time.
2025-08-24 20:34:54 +02:00
16b2484291 Update nvim plugins 2025-08-16 20:50:35 +02:00
732b713c54 Add <Space>m to automatically expand functions and alike in vim 2025-08-16 18:45:52 +02:00
b8d698777f Ensure my beloved alias g for goto 2025-08-16 12:37:02 +02:00
0624ed1fa4 Initialize bash-completion at the end and fix config and goto completion 2025-08-12 04:21:30 +02:00
5bfbf8b1aa Apply bash-completion as last to make sure alias g=goto works 2025-08-11 10:07:40 +02:00
169b2e108f Fix reboot or changed config notices to be rendered correctly everywhere 2025-08-11 10:04:18 +02:00
c2bd400d3f Update bash and git config to align the configs on all my systems 2025-08-10 22:16:58 +02:00
924119870e Define dedicated alacritty-configs per env
These then have to be soft-linked at the target marchine
2025-08-10 17:12:01 +02:00
24f7891460 Migrate vim to neovim (min v0.11)
Install newest vim-releases via appimage from github-page!
2025-08-10 17:12:01 +02:00
ca4e45b4aa Handle UHD monitors better in alacritty
This simply makes the font bigger on UHD monitors in alacritty.
2025-07-23 01:07:38 +02:00
7ae11a3bca Set ComicMono as regular font in alacritty 2025-05-08 23:31:56 +02:00
6ccebe2a6e Fold nested terraform rules on foldlevel 2 in vim 2025-03-15 21:05:17 +01:00
a54d3fe829 Ingore git-hooks when running 'git fix' 2025-03-15 21:04:16 +01:00
5ebcde4bff Start IntelliJ with binary instead of shell-script 2025-03-15 21:03:28 +01:00