1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-07-02 20:51:36 +02:00

Compare commits

..

24 Commits

Author SHA1 Message Date
04f9ac187a Shell: Added gitinore creation script 2026-05-31 05:38:11 +02:00
803472b1c9 Zsh/Python: uv now enters venv on init and also sync 2026-05-31 05:08:30 +02:00
6e00342044 Audio: improved script for tapping secondary audio device 2026-05-30 05:06:34 +02:00
d06a7bddf4 Shell: Fixed minor typos in shell scripts 2026-05-23 23:22:23 +02:00
e32eb6eebd Alias: Papis no longer needed due to uv tool 2026-05-19 02:03:16 +02:00
29ac82a412 Nvim: Updated dictionaries 2026-05-16 01:57:23 +02:00
641a124fe3 Zsh: widget for automatic usage of uv with the pip command 2026-05-13 03:19:45 +02:00
71d23fa096 Nvim: Updated dictionaries 2026-05-13 03:18:34 +02:00
8dde717180 Nvim: Updated dictionaries 2026-05-13 01:09:10 +02:00
a148a5a7a4 Nvim: Updated dictionaries 2026-05-11 01:48:54 +02:00
3118f9d40f Nvim: Made Molten more robust 2026-05-08 02:57:54 +02:00
f11f68c751 Zsh/Nvim: made python handling more readably 2026-05-08 02:39:44 +02:00
ec77543d6b Nvim: Updated dictionaries 2026-05-08 02:33:23 +02:00
b82bfff551 Zsh/Nvim: python is now mapped to uv run python using Zsh widgets and the compiler script for Nvim 2026-05-08 02:33:06 +02:00
d579220afd Merge branch 'master' of github:tiyn/dotfiles 2026-05-06 03:44:28 +02:00
0aab087f11 Zsh: Added widgets for mkcd and improved uv init 2026-05-06 03:44:20 +02:00
b2fd0f3b25 Nvim: Updated dictionaries 2026-05-05 12:29:01 +02:00
1bc5e80e40 Nvim: Updated dictionaries 2026-05-04 01:50:04 +02:00
ac9f4465f6 Nvim: Updated dictionaries 2026-05-03 23:58:07 +02:00
37e4d7faa6 Nvim: Fixed merge conflict 2026-05-03 18:36:53 +02:00
a8daed6c20 Nvim: Updated dictionaries 2026-05-03 02:27:34 +02:00
fba1aecfd4 Nvim: Updated addon version 2026-05-02 02:23:34 +02:00
1a9711c43f Nvim: Updated addon version 2026-05-02 02:23:07 +02:00
c48a286a66 Nvim: Added usage information 2026-05-02 02:22:22 +02:00
12 changed files with 616 additions and 194 deletions

View File

@@ -74,11 +74,11 @@ alias contacts="khard"
# kolourpaint # kolourpaint
alias paint="kolourpaint" alias paint="kolourpaint"
# ls(d) # ls
alias l="exa --group-directories-first --icons" alias l="eza --group-directories-first --icons"
alias la="exa -la --group-directories-first --icons --git" alias la="eza -la --group-directories-first --icons --git"
alias ll="exa -l --group-directories-first --icons --git" alias ll="eza -l --group-directories-first --icons --git"
alias tree="exa --tree --group-directories-first --icons" alias tree="eza --tree --group-directories-first --icons"
# mkdir # mkdir
alias mkdir="mkdir -p" alias mkdir="mkdir -p"
@@ -99,9 +99,6 @@ alias octave="octave --persist"
# pacman # pacman
alias pac="sudo pacman" alias pac="sudo pacman"
# papis
alias papis='PYTHONWARNINGS=ignore::DeprecationWarning python -m papis'
# ping # ping
alias ping="ping -c 5" alias ping="ping -c 5"

161
.config/gitignore/python Normal file
View File

@@ -0,0 +1,161 @@
# Created by https://www.toptal.com/developers/gitignore/api/venv,python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# .python-version
# pipenv
#Pipfile.lock
# poetry
#poetry.lock
# pdm
#pdm.lock
.pdm.toml
# PEP 582
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
# PyCharm
#.idea/
### Python Patch ###
poetry.toml
# ruff
.ruff_cache/
# LSP config files
pyrightconfig.json
### venv ###
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
pip-selfcheck.json

View File

@@ -4,7 +4,7 @@
"agentic.nvim": { "branch": "main", "commit": "3e6175c1141cc3cb5cc08e98bff01b06a0a67467" }, "agentic.nvim": { "branch": "main", "commit": "3e6175c1141cc3cb5cc08e98bff01b06a0a67467" },
"auto-session": { "branch": "main", "commit": "62437532b38495551410b3f377bcf4aaac574ebe" }, "auto-session": { "branch": "main", "commit": "62437532b38495551410b3f377bcf4aaac574ebe" },
"barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" }, "barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" },
"blink.download": { "branch": "main", "commit": "dda2666685a5ac3598166577d2e34f1fff6b1637" }, "blink.download": { "branch": "main", "commit": "a459c8fbf51359902971874b5ebe05f6602db8b4" },
"blink.pairs": { "branch": "main", "commit": "4e43012356d33a26f69eae475f746fbe9f325f44" }, "blink.pairs": { "branch": "main", "commit": "4e43012356d33a26f69eae475f746fbe9f325f44" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" }, "cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-dictionary": { "branch": "main", "commit": "fecc3ef2435c2be35818f8fcac4a6c5655f3a8f0" }, "cmp-dictionary": { "branch": "main", "commit": "fecc3ef2435c2be35818f8fcac4a6c5655f3a8f0" },
@@ -13,7 +13,7 @@
"cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" }, "cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" }, "cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
"conform.nvim": { "branch": "master", "commit": "dca1a190aa85f9065979ef35802fb77131911106" }, "conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
"cpsm": { "branch": "master", "commit": "c32a9b7dc9d5b516505bc8ab58ceb15f64735830" }, "cpsm": { "branch": "master", "commit": "c32a9b7dc9d5b516505bc8ab58ceb15f64735830" },
"csvview.nvim": { "branch": "main", "commit": "7022e18a0fbae9aecf99a3ba02b2a541edc2b8a1" }, "csvview.nvim": { "branch": "main", "commit": "7022e18a0fbae9aecf99a3ba02b2a541edc2b8a1" },
"dial.nvim": { "branch": "master", "commit": "f2634758455cfa52a8acea6f142dcd6271a1bf57" }, "dial.nvim": { "branch": "master", "commit": "f2634758455cfa52a8acea6f142dcd6271a1bf57" },
@@ -22,43 +22,43 @@
"file-renamer.nvim": { "branch": "master", "commit": "da78d496ffb3dd55a4c70b4a9c28686630a57d3a" }, "file-renamer.nvim": { "branch": "master", "commit": "da78d496ffb3dd55a4c70b4a9c28686630a57d3a" },
"fterm.nvim": { "branch": "master", "commit": "d1320892cc2ebab472935242d9d992a2c9570180" }, "fterm.nvim": { "branch": "master", "commit": "d1320892cc2ebab472935242d9d992a2c9570180" },
"fzy-lua-native": { "branch": "master", "commit": "9d720745d5c2fb563c0d86c17d77612a3519c506" }, "fzy-lua-native": { "branch": "master", "commit": "9d720745d5c2fb563c0d86c17d77612a3519c506" },
"git-blame.nvim": { "branch": "master", "commit": "2883a7460f611c2705b23f12d58d398d5ce6ec00" }, "git-blame.nvim": { "branch": "main", "commit": "5c536e2d4134d064aa3f41575280bc8a2a0e03d7" },
"gitsigns.nvim": { "branch": "main", "commit": "6d808f99bd63303646794406e270bd553ad7792e" }, "gitsigns.nvim": { "branch": "main", "commit": "8d82c240f190fc33723d48c308ccc1ed8baad69d" },
"goto-preview": { "branch": "main", "commit": "d2d6923c9b9e0e43f0b9b566f261a8b1ae016540" }, "goto-preview": { "branch": "main", "commit": "d2d6923c9b9e0e43f0b9b566f261a8b1ae016540" },
"image.nvim": { "branch": "master", "commit": "da2be65c153ba15a14a342b05591652a6df70d58" }, "image.nvim": { "branch": "master", "commit": "da2be65c153ba15a14a342b05591652a6df70d58" },
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" }, "indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" }, "jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
"knap": { "branch": "main", "commit": "7db44d0bb760120142cc1e8f43e44976de59c2f6" }, "knap": { "branch": "main", "commit": "7db44d0bb760120142cc1e8f43e44976de59c2f6" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" }, "lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"leap.nvim": { "branch": "main", "commit": "e7ca7b92f996bcbc34beee8b244ea5ef6692b478" }, "leap.nvim": { "branch": "main", "commit": "278a2dddd347e138819fa84b0a891137ba33a788" },
"logger.nvim": { "branch": "main", "commit": "63dd10c9b9a159fd6cfe08435d9606384ff103c5" }, "logger.nvim": { "branch": "main", "commit": "63dd10c9b9a159fd6cfe08435d9606384ff103c5" },
"lsp_signature.nvim": { "branch": "master", "commit": "a65b38f260cc3470a05b4afb84c8d868617d476d" }, "lsp_signature.nvim": { "branch": "master", "commit": "a65b38f260cc3470a05b4afb84c8d868617d476d" },
"lspkind-nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" }, "lspkind-nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
"lualine.nvim": { "branch": "master", "commit": "a905eeebc4e63fdc48b5135d3bf8aea5618fb21c" }, "lualine.nvim": { "branch": "master", "commit": "f5d2a8570f8b736ddb9bb4be504355bcd6e15ec8" },
"luasnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" }, "luasnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "0c2823e0418f3d9230ff8b201c976e84de1cb401" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "0a3b42c3e503df87aef6d6513e13148381495c3a" },
"mason-null-ls.nvim": { "branch": "main", "commit": "8e7806acaa87fae64f0bfde25bb4b87c18bd19b4" }, "mason-null-ls.nvim": { "branch": "main", "commit": "8e7806acaa87fae64f0bfde25bb4b87c18bd19b4" },
"mason.nvim": { "branch": "main", "commit": "cb8445f8ce85d957416c106b780efd51c6298f89" }, "mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" },
"modes.nvim": { "branch": "main", "commit": "2badf8771dbb2d1e1066fd6a5dddaad2fc836e72" }, "modes.nvim": { "branch": "main", "commit": "2badf8771dbb2d1e1066fd6a5dddaad2fc836e72" },
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" }, "molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
"neogen": { "branch": "main", "commit": "23e7e9f883d01289ebd90e98025acc860ea26366" }, "neogen": { "branch": "main", "commit": "23e7e9f883d01289ebd90e98025acc860ea26366" },
"none-ls.nvim": { "branch": "main", "commit": "8cd333aa66e08492d891bdad272208a620cb93a3" }, "none-ls.nvim": { "branch": "main", "commit": "7f9301e416533b5d74e2fb3b1ce5059eeaed748b" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" }, "nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" }, "nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
"nvim-colorizer.lua": { "branch": "master", "commit": "6ed09146ee637006367b5e225be6208a1ea02579" }, "nvim-colorizer.lua": { "branch": "master", "commit": "6ed09146ee637006367b5e225be6208a1ea02579" },
"nvim-docs-view": { "branch": "master", "commit": "5676cc094d426edd39134b1eefca2cab441cca8a" }, "nvim-docs-view": { "branch": "master", "commit": "5676cc094d426edd39134b1eefca2cab441cca8a" },
"nvim-hlslens": { "branch": "main", "commit": "be2d7b2be01860b5445a007ff2bc72b29896db6b" }, "nvim-hlslens": { "branch": "main", "commit": "be2d7b2be01860b5445a007ff2bc72b29896db6b" },
"nvim-lilypond-suite": { "branch": "main", "commit": "e57ced9e0df33773566af795d70919d577c58ce2" }, "nvim-lilypond-suite": { "branch": "main", "commit": "a1a313fd6028a196cc9aaa8c8501838fe8cc8e2a" },
"nvim-lspconfig": { "branch": "master", "commit": "bf5abe69c1874531f359a822d0cff4d73e26113f" }, "nvim-lspconfig": { "branch": "master", "commit": "cb5bc0b2b35a6d513e3298d285db81453e791f4f" },
"nvim-navic": { "branch": "master", "commit": "f5eba192f39b453675d115351808bd51276d9de5" }, "nvim-navic": { "branch": "master", "commit": "f5eba192f39b453675d115351808bd51276d9de5" },
"nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" }, "nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" },
"nvim-surround": { "branch": "main", "commit": "61319d4bd1c5e336e197defa15bd104c51f0fb29" }, "nvim-surround": { "branch": "main", "commit": "61319d4bd1c5e336e197defa15bd104c51f0fb29" },
"nvim-tree.lua": { "branch": "master", "commit": "24cfcc94372e526fd9e1c2803ede9e0f1715e33f" }, "nvim-tree.lua": { "branch": "master", "commit": "509962f21ab7289d8dcd28568af539be39a8c01e" },
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" }, "nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
"nvim-treesitter-context": { "branch": "master", "commit": "b0c45cefe2c8f7b55fc46f34e563bc428ef99636" }, "nvim-treesitter-context": { "branch": "master", "commit": "b0c45cefe2c8f7b55fc46f34e563bc428ef99636" },
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" }, "nvim-ts-autotag": { "branch": "main", "commit": "8e1c0a389f20bf7f5b0dd0e00306c1247bda2595" },
"nvim-ufo": { "branch": "main", "commit": "ab3eb124062422d276fae49e0dd63b3ad1062cfc" }, "nvim-ufo": { "branch": "main", "commit": "ab3eb124062422d276fae49e0dd63b3ad1062cfc" },
"nvim-web-devicons": { "branch": "master", "commit": "8069e89df2d7259704286a5906a11c5b27d5b440" }, "nvim-web-devicons": { "branch": "master", "commit": "c72328a5494b4502947a022fe69c0c47e53b6aa6" },
"nvim-yarp": { "branch": "master", "commit": "bb5f5e038bfe119d3b777845a76b0b919b35ebc8" }, "nvim-yarp": { "branch": "master", "commit": "bb5f5e038bfe119d3b777845a76b0b919b35ebc8" },
"ogpt.nvim": { "branch": "main", "commit": "0fae02db8cb07391f86c3dbe807f62190a2d997f" }, "ogpt.nvim": { "branch": "main", "commit": "0fae02db8cb07391f86c3dbe807f62190a2d997f" },
"otter.nvim": { "branch": "main", "commit": "a455e68a99d395889ab30a25ac3846a135e93c46" }, "otter.nvim": { "branch": "main", "commit": "a455e68a99d395889ab30a25ac3846a135e93c46" },
@@ -70,23 +70,24 @@
"popup-menu.nvim": { "branch": "master", "commit": "b618bd0c824a20417d845fa0022327228e6988a2" }, "popup-menu.nvim": { "branch": "master", "commit": "b618bd0c824a20417d845fa0022327228e6988a2" },
"projections.nvim": { "branch": "pre_release", "commit": "889914169fa1f5c00fb8659653b5a8330fb223e6" }, "projections.nvim": { "branch": "pre_release", "commit": "889914169fa1f5c00fb8659653b5a8330fb223e6" },
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" }, "promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
"quarto-nvim": { "branch": "main", "commit": "17f1e5d664bc615478230dc0240666329efacf9b" }, "quarto-nvim": { "branch": "main", "commit": "d923bb7cfc2bde41143e1c531c28190f0fade3a2" },
"renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" }, "renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" },
"render-markdown.nvim": { "branch": "main", "commit": "3f3eea97b80839f629c951ca660ffd125bfa5b34" }, "render-markdown.nvim": { "branch": "main", "commit": "54d4b5431e9634ee3d8d30784e017239b5b89d41" },
"resolve.nvim": { "branch": "master", "commit": "1ed8bcc9ce7d43a0e8e05d0001c9cadb822d95a8" }, "resolve.nvim": { "branch": "master", "commit": "1ed8bcc9ce7d43a0e8e05d0001c9cadb822d95a8" },
"rustaceanvim": { "branch": "master", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" }, "rustaceanvim": { "branch": "master", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" },
"spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" }, "spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" },
"sqlite.lua": { "branch": "master", "commit": "50092d60feb242602d7578398c6eb53b4a8ffe7b" }, "sqlite.lua": { "branch": "master", "commit": "50092d60feb242602d7578398c6eb53b4a8ffe7b" },
"symbol-usage.nvim": { "branch": "main", "commit": "6a449e6b37be61a110606e9a67a7a308774f120f" },
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" }, "tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
"tccs.nvim": { "branch": "master", "commit": "23fabbb0a65517307e571f63fe7a3760670086fe" }, "tccs.nvim": { "branch": "master", "commit": "23fabbb0a65517307e571f63fe7a3760670086fe" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
"telescope-words.nvim": { "branch": "main", "commit": "295d51fe1e525fee18c0c164ad0ae5fb23273aa0" }, "telescope-words.nvim": { "branch": "main", "commit": "295d51fe1e525fee18c0c164ad0ae5fb23273aa0" },
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" }, "telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
"tidy.nvim": { "branch": "main", "commit": "8b6921150b16f38f48a2459a844a0c2b4c916914" }, "tidy.nvim": { "branch": "main", "commit": "8b6921150b16f38f48a2459a844a0c2b4c916914" },
"tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "147af4e49f51dd48f41972de26552872b8ba7b25" }, "tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "57a0eb84b2008c76e77930639890d9874195b1e1" },
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
"treesj": { "branch": "main", "commit": "5fa4e7ba3517f8fe743bb4488f9e9c7ce83330fc" }, "treesj": { "branch": "main", "commit": "26bc2a8432ba3ea79ed6aa346fba780a3d372570" },
"treewalker.nvim": { "branch": "main", "commit": "3680d19fc275f275352e9a3c05f3ec5079dfc0a7" }, "treewalker.nvim": { "branch": "main", "commit": "6fbceceb8966620da8970b727b6daa358b982805" },
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" }, "trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
"undotree": { "branch": "master", "commit": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d" }, "undotree": { "branch": "master", "commit": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d" },
"vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" }, "vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" },

View File

@@ -17,6 +17,7 @@ Dom
Dreams Dreams
Embedding Embedding
Entlebucher Entlebucher
Eskortflug
Extraction Extraction
For For
Formatter Formatter
@@ -26,7 +27,10 @@ Genervtheit
Gestresstheit Gestresstheit
Gym Gym
Handwerksunternehmen Handwerksunternehmen
Higher-Up
Higher-Ups
Homeserver Homeserver
Hot
Immigrationsgeschichte Immigrationsgeschichte
Impro Impro
Improtheater Improtheater
@@ -38,6 +42,7 @@ Ira
Jahreszeitenunterschied Jahreszeitenunterschied
Jahreszeitenunterschiede Jahreszeitenunterschiede
Kardinälin Kardinälin
Keycap
Kreatindosis Kreatindosis
Königinnensubstanz Königinnensubstanz
Loop Loop
@@ -49,6 +54,7 @@ Meta
Mods Mods
Mono Mono
Ne Ne
Nights
Orgas Orgas
Paper Paper
Platformer Platformer
@@ -92,6 +98,7 @@ be
bürgerlicher bürgerlicher
bürgerlichere bürgerlichere
bürgerlicheren bürgerlicheren
cosplayt
cyber cyber
egozentristisch egozentristisch
en en

View File

@@ -1,5 +1,6 @@
AI AI
APV APV
Abdulkarim
Accuracy Accuracy
Agentic Agentic
Akallabêth Akallabêth
@@ -13,6 +14,8 @@ Arrabbiata
Asiahung Asiahung
Aule Aule
Aules Aules
Autoencoder
Babybel
Baez Baez
Barros Barros
Beater Beater
@@ -29,6 +32,7 @@ Brusch
CAR CAR
CATS CATS
CDSS CDSS
CORE
CUDA CUDA
Carré Carré
Casper Casper
@@ -36,6 +40,7 @@ Caspers
Cato Cato
CdE CdE
CdEs CdEs
Cewe
Chrysalis Chrysalis
Color Color
Combi Combi
@@ -49,13 +54,15 @@ Darth
DeepSeek DeepSeek
Dekarldent Dekarldent
Delivery Delivery
Destiny 2 Destiny
Distrobox Distrobox
Doom Doom
Doyma Doyma
Dressler
EasyEffects EasyEffects
Eckhoff Eckhoff
Edain Edain
Edibles
Elodie Elodie
Ernsting's Ernsting's
Euphoria Euphoria
@@ -108,12 +115,16 @@ JT
Jacobin Jacobin
Jeanine Jeanine
Jojen Jojen
Jungjohann
Karamasov Karamasov
Keep Keep
Keycap
Kingdoms Kingdoms
Kluge Kluge
KohakuHub KohakuHub
Kratom Kratom
KreativAkademie
Kreyenbrück
Kreyenhop Kreyenhop
Kubitschek Kubitschek
Käte Käte
@@ -124,11 +135,13 @@ Lanz
Later Later
Lemmie Lemmie
Lemmies Lemmies
Letterboxd
LightDM LightDM
LightDM-GTK-Greeter LightDM-GTK-Greeter
LightDM-Mini-Greeter LightDM-Mini-Greeter
LilyPond LilyPond
Line Dance Line Dance
Loafer
Lounge Lounge
MEVIS MEVIS
MTG MTG
@@ -146,6 +159,7 @@ Meshtastic
Metzener Metzener
MiiMii MiiMii
Mint Mint
Mukluk
MusikAka MusikAka
MusikAkademie MusikAkademie
NVIM NVIM
@@ -156,6 +170,7 @@ Neovim
NetworkManager NetworkManager
NextCloud NextCloud
Nim Nim
Njinmah
Nobody Nobody
Noel Noel
North North
@@ -182,6 +197,7 @@ Pluribus
PopOS PopOS
Portainer Portainer
Power Power
Pratik
Precision Precision
Precon Precon
Precons Precons
@@ -191,6 +207,7 @@ Rebowl
Reed Reed
Reeves Reeves
Reichenecker Reichenecker
Rida
Rocq Rocq
Ruschenbaum Ruschenbaum
SDS SDS
@@ -228,6 +245,7 @@ Tornow
TrackPoint TrackPoint
Traefik Traefik
UDEV UDEV
UMAP
Umbar Umbar
V1del V1del
VIM VIM
@@ -243,6 +261,7 @@ WinterAkademie
Writhing Writhing
X.Org X.Org
Years Years
Yorma
Ziegeleiweg Ziegeleiweg
Zimin Zimin
and and

View File

@@ -22,13 +22,24 @@ return {
vim.schedule(function() vim.schedule(function()
local kernels = vim.fn.MoltenAvailableKernels() local kernels = vim.fn.MoltenAvailableKernels()
local try_kernel_name = function() local try_kernel_name = function()
local metadata = vim.json.decode(io.open(e.file, "r"):read("a"))["metadata"] local f = io.open(e.file, "r")
return metadata.kernelspec.name if not f then
return nil
end
local content = f:read("*a")
f:close()
local ok, decoded = pcall(vim.json.decode, content)
if not ok then
return nil
end
return decoded.metadata
and decoded.metadata.kernelspec
and decoded.metadata.kernelspec.name
end end
local ok, kernel_name = pcall(try_kernel_name) local ok, kernel_name = pcall(try_kernel_name)
if not ok or not vim.tbl_contains(kernels, kernel_name) then if not ok or not vim.tbl_contains(kernels, kernel_name) then
kernel_name = nil kernel_name = nil
local venv = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX") local venv = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX") or ".venv"
if venv ~= nil then if venv ~= nil then
kernel_name = string.match(venv, "/.+/(.+)") kernel_name = string.match(venv, "/.+/(.+)")
end end

View File

@@ -29,6 +29,7 @@ return {
require("symbol-usage").setup({ require("symbol-usage").setup({
text_format = text_format, text_format = text_format,
vt_position = "end_of_line",
}) })
end, end,
} }

View File

@@ -2,16 +2,16 @@
# HELPER FUNCTIONS # # HELPER FUNCTIONS #
#################### ####################
precmd_vcs_info() { vcs_info } precmd_vcs_info() { vcs_info; }
precmd_functions+=( precmd_vcs_info ) precmd_functions+=(precmd_vcs_info)
zle-line-init() { zle-line-init() {
zle -K viins zle -K viins
echo -ne "\e[5 q" echo -ne "\e[5 q"
} }
preexec() { echo -ne '\e[5 q' ;} preexec() { echo -ne '\e[5 q'; }
local copy_widgets=( local copy_widgets=(
vi-yank vi-yank-eol vi-delete vi-backward-kill-word vi-change-whole-line vi-yank vi-yank-eol vi-delete vi-backward-kill-word vi-change-whole-line
@@ -59,23 +59,23 @@ function +vi-git-st() {
local ahead behind remote local ahead behind remote
local -a gitstatus local -a gitstatus
remote=${$(git rev-parse --verify ${hook_com[branch]}@{upstream} \ remote=${$(git rev-parse --verify ${hook_com[branch]}@{upstream} \
--symbolic-full-name 2>/dev/null)/refs\/remotes\/} --symbolic-full-name 2>/dev/null)/refs\/remotes\//}
if [[ -n ${remote} ]] ; then if [[ -n ${remote} ]]; then
# for git prior to 1.7 # for git prior to 1.7
# ahead=$(git rev-list origin/${hook_com[branch]}..HEAD | wc -l) # ahead=$(git rev-list origin/${hook_com[branch]}..HEAD | wc -l)
ahead=$(git rev-list ${hook_com[branch]}@{upstream}..HEAD 2>/dev/null | wc -l) ahead=$(git rev-list ${hook_com[branch]}@{upstream}..HEAD 2>/dev/null | wc -l)
(( $ahead )) && gitstatus+=( " ${c3}+${ahead}${c2}" ) (($ahead)) && gitstatus+=(" ${c3}+${ahead}${c2}")
# for git prior to 1.7 # for git prior to 1.7
# behind=$(git rev-list HEAD..origin/${hook_com[branch]} | wc -l) # behind=$(git rev-list HEAD..origin/${hook_com[branch]} | wc -l)
behind=$(git rev-list HEAD..${hook_com[branch]}@{upstream} 2>/dev/null | wc -l) behind=$(git rev-list HEAD..${hook_com[branch]}@{upstream} 2>/dev/null | wc -l)
(( $behind )) && gitstatus+=( "${c4}-${behind}${c2}" ) (($behind)) && gitstatus+=("${c4}-${behind}${c2}")
hook_com[branch]="${hook_com[branch]} [${remote}${(j:/:)gitstatus}]" hook_com[branch]="${hook_com[branch]} [${remote}${(j:/:)gitstatus}]"
fi fi
} }
function +vi-git-stash() { function +vi-git-stash() {
local -a stashes local -a stashes
if [[ -s ${hook_com[base]}/.git/refs/stash ]] ; then if [[ -s ${hook_com[base]}/.git/refs/stash ]]; then
stashes=$(git stash list 2>/dev/null | wc -l) stashes=$(git stash list 2>/dev/null | wc -l)
hook_com[misc]+=" (${stashes} stashed)" hook_com[misc]+=" (${stashes} stashed)"
fi fi
@@ -85,12 +85,99 @@ function +vi-git-stash() {
# CUSTOM WIDGETS # # CUSTOM WIDGETS #
################## ##################
mkcd() {
mkdir -p -- "$1" &&
cd -- "$1"
}
uv() {
if [[ "$1" == "init" ]]; then
shift
if [[ "$1" == "--normal" ]]; then
shift
command uv init "$@"
else
command uv init --bare "$@" || return
if [[ $# -eq 0 ]]; then
command uv venv || return
_auto_venv
fi
fi
elif [[ "$1" == "sync" ]]; then
shift
command uv sync "$@" || return
_auto_venv
else
command uv "$@"
fi
}
find_python_root() {
local target="$1"
local dir
if [[ -n "$target" && -e "$target" ]]; then
dir="$(cd "$(dirname "$target")" && pwd)"
else
dir="$PWD"
fi
while [[ "$dir" != "/" ]]; do
if [[ -f "$dir/.python-version" ]] || [[ -f "$dir/pyproject.toml" ]]; then
echo "$dir"
return 0
fi
dir="$(dirname "$dir")"
done
return 1
}
uvshim() {
local cmd="$1"
shift
local uv_root=""
local first_arg="$1"
uv_root="$(find_python_root "$first_arg")"
if [[ -n "$uv_root" ]]; then
uv run --project "$uv_root" "$cmd" "$@"
else
command -- "$cmd" "$@"
fi
}
python() { uvshim python "$@"; }
python3() { uvshim python3 "$@"; }
pip() {
local uv_root
uv_root="$(find_python_root)"
if [[ -n "$uv_root" ]]; then
if [[ "$1" == "install" ]]; then
shift
uv add "$@"
else
uv pip "$@"
fi
else
command pip "$@"
fi
}
_find_venv_upwards() { _find_venv_upwards() {
local dir="$PWD" local dir="$PWD"
while [[ "$dir" != "/" ]]; do while [[ "$dir" != "/" ]]; do
if [[ -f "$dir/pyvenv.cfg" ]]; then if [[ -f "$dir/.venv/pyvenv.cfg" ]]; then
echo "$dir" echo "$dir/.venv"
return return
fi fi
dir=$(dirname "$dir") dir=$(dirname "$dir")
@@ -308,17 +395,14 @@ autoload -Uz compinit && compinit
# open shell with tmux always # open shell with tmux always
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
tmux attack-session -t $USER || tmux new-session -s $USER tmux attach-session -t $USER || tmux new-session -s $USER
fi fi
# thefuck # thefuck
eval $(thefuck --alias) eval $(thefuck --alias)
# python
eval "$(pyenv init -)"
# opam # opam
[[ ! -r "$HOME/.opam/opam-init/init.zsh" ]] || source "$HOME/.opam/opam-init/init.zsh" > /dev/null 2> /dev/null [[ ! -r "$HOME/.opam/opam-init/init.zsh" ]] || source "$HOME/.opam/opam-init/init.zsh" >/dev/null 2>/dev/null
########################## ##########################
# COMMANDS BEFORE PROMPT # # COMMANDS BEFORE PROMPT #

136
.local/bin/etc/gitignore Executable file
View File

@@ -0,0 +1,136 @@
#!/bin/sh
CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/gitignore"
usage() {
cat <<EOF
Usage:
gitignore TEMPLATE...
Create a new .gitignore from templates.
gitignore -f TEMPLATE...
Overwrite existing .gitignore.
gitignore --add TEMPLATE...
Append templates to existing .gitignore.
gitignore --list
List available templates.
gitignore --show TEMPLATE
Show a template.
Templates are searched in:
$CONFIG_DIR
EOF
}
list_templates() {
[ -d "$CONFIG_DIR" ] || exit 0
find "$CONFIG_DIR" -type f -exec basename {} \; | sort
}
show_template() {
file="$CONFIG_DIR/$1"
if [ ! -f "$file" ]; then
echo "Unknown template: $1" >&2
exit 1
fi
cat "$file"
}
append_template() {
template="$1"
file="$CONFIG_DIR/$template"
if [ ! -f "$file" ]; then
echo "Unknown template: $template" >&2
exit 1
fi
{
echo
echo "# --- $template ---"
cat "$file"
} >> .gitignore
}
create_gitignore() {
mode="$1"
shift
if [ -f .gitignore ] && [ "$mode" != "force" ]; then
echo ".gitignore already exists." >&2
echo "Use -f to overwrite or --add to append." >&2
exit 1
fi
: > .gitignore
for template in "$@"; do
append_template "$template"
done
}
add_templates() {
[ -f .gitignore ] || touch .gitignore
for template in "$@"; do
append_template "$template"
done
}
case "$1" in
--help|-h)
usage
;;
--list)
list_templates
;;
--show)
shift
[ $# -eq 1 ] || {
echo "--show requires exactly one template" >&2
exit 1
}
show_template "$1"
;;
--add)
shift
[ $# -gt 0 ] || {
echo "No templates specified" >&2
exit 1
}
add_templates "$@"
;;
-f)
shift
[ $# -gt 0 ] || {
echo "No templates specified" >&2
exit 1
}
create_gitignore force "$@"
;;
"")
usage
exit 1
;;
*)
create_gitignore normal "$@"
;;
esac

View File

@@ -14,43 +14,60 @@ vipercmd="carbon" #"silicon"
cd "$dir" || exit cd "$dir" || exit
textype() { \ has_python_version() {
dir="$PWD"
while [ "$dir" != "/" ]; do
if [ -f "$dir/.python-version" ] || [ -f "$dir/pyproject.toml" ]; then
return 0
fi
dir=$(dirname "$dir")
done
return 1
}
textype() {
command="pdflatex --shell-escape" command="pdflatex --shell-escape"
( sed 5q "$file" | grep -i -q 'xelatex' ) && command="xelatex" (sed 5q "$file" | grep -i -q 'xelatex') && command="xelatex"
$command --output-directory="$dir" "$base" && $command --output-directory="$dir" "$base" &&
grep -i addbibresource "$file" >/dev/null && grep -i addbibresource "$file" >/dev/null &&
biber --input-directory "$dir" "$base" && biber --input-directory "$dir" "$base" &&
$command --output-directory="$dir" "$base" && $command --output-directory="$dir" "$base" &&
makeglossaries "$basenodir" && makeglossaries "$basenodir" &&
$command --output-directory="$dir" "$base" $command --output-directory="$dir" "$base"
} }
case "$file" in case "$file" in
*\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf > "$base".pdf ;; *\.[0-9]) refer -PS -e "$file" | groff -mandoc -T pdf >"$base".pdf ;;
*\.bash) bash "$file" ;; *\.bash) bash "$file" ;;
*\.go) go run "$file" ;; *\.go) go run "$file" ;;
*\.lua) lua "$file" ;; *\.lua) lua "$file" ;;
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;; *\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf > "$base".pdf ;; *\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf >"$base".pdf ;;
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf > "$base".pdf ;; *\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf >"$base".pdf ;;
*\.py) python3 "$file" ;; *\.py)
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;; if has_python_version; then
*\.sent) setsid sent "$file" 2>/dev/null & ;; uv run python "$file"
*config.h) sudo make install ;; else
*\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;; python3 "$file"
*\.java) java "$file" ;; fi
*\.js) node "$file" ;; ;;
*\.m) octave -qW "$file" ;; *\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
*\.nim) nim c -r -d:noColors "$file" ;; *\.sent) setsid sent "$file" 2>/dev/null & ;;
*\.r|*\.R) Rscript "$file" ;; *config.h) sudo make install ;;
*\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \ *\.c) if [ -f Makefile ]; then make run; else cc "$file" -o "$base" && "$base"; fi ;;
&& (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \ *\.java) java "$file" ;;
|| (rustc "$file" && "./$(basename "${file%.rs}")") ;; *\.js) node "$file" ;;
*\.sh) dash "$file" ;; *\.m) octave -qW "$file" ;;
*\.smt2) z3 "$file" ;; *\.nim) nim c -r -d:noColors "$file" ;;
*\.tex) textype "$file" ;; *\.r | *\.R) Rscript "$file" ;;
*\.vpr) $vipercmd "$file" ;; *\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) &&
*\.zsh) zsh "$file" ;; (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) ||
*\.ly) lilypond "$file" ;; (rustc "$file" && "./$(basename "${file%.rs}")") ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;; *\.sh) dash "$file" ;;
*\.smt2) z3 "$file" ;;
*\.tex) textype "$file" ;;
*\.vpr) $vipercmd "$file" ;;
*\.zsh) zsh "$file" ;;
*\.ly) lilypond "$file" ;;
*) sed 1q "$file" | grep "^#!/" | sed "s/^#!//" | xargs -r -I % "$file" ;;
esac esac

View File

@@ -7,8 +7,8 @@
device=${LOOPBACK_DEVICE:-Easy Effects Source} device=${LOOPBACK_DEVICE:-Easy Effects Source}
name=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | sed -e "s/*/\ /g") name=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | sed -e "s/*/\ /g")
id=$( echo $name | cut -d '.' -f 1 | cut -c 5-) ident=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | grep -oE '[0-9]+\.' | tr -d '.')
node=$(wpctl inspect $id | grep node.name | cut -d '=' -f 2) node=$(wpctl inspect $ident | grep node.name | cut -d '=' -f 2)
[ -z "$2" ] && num="5" || num="$2" [ -z "$2" ] && num="5" || num="$2"
@@ -61,7 +61,7 @@ case "$1" in
loop) playerctl loop none loop) playerctl loop none
sleep 1 sleep 1
pkill -RTMIN+9 $STATUSBAR ;; pkill -RTMIN+9 $STATUSBAR ;;
tap) wpctl set-volume $id 1.0 tap) wpctl set-volume $ident 1.0
touch ~/.local/state/loopback.lock touch ~/.local/state/loopback.lock
pw-loopback -C $node & pw-loopback -C $node &
notify-send -u low 'sxhkd' "Started loopback of $device" ;; notify-send -u low 'sxhkd' "Started loopback of $device" ;;

View File

@@ -72,18 +72,6 @@ export VIPER_CARBON=""
export VIPER_Z3="/bin/z3" export VIPER_Z3="/bin/z3"
export VIPER_BOOGIE="$HOME/.dotnet/tools/boogie" export VIPER_BOOGIE="$HOME/.dotnet/tools/boogie"
# python
export PYENV_ROOT="$HOME/.pyenv"
if [ -d "$PYENV_ROOT" ] && [ -x "PYENV_ROOT/bin/pyenv" ]; then
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v timeout >/DEV/NULL 2>&1; then
timeout 2s -c sh -c 'eval "$($PYENV_ROOT/bin/pyenv init --path)"' 2>/dev/null
else
eval "$($PYENV_ROOT/bin/pyenv init --path 2>/dev/null)" || true
fi
fi
# less/man colors # less/man colors
export LESS=-R export LESS=-R
export LESS_TERMCAP_mb="$(printf '%b' '')"; a="${a%_}" export LESS_TERMCAP_mb="$(printf '%b' '')"; a="${a%_}"