feat: todos, decman config almost complete

This commit is contained in:
2026-06-14 17:58:00 +02:00
parent e74b162b91
commit 04a5d8919c
32 changed files with 1632 additions and 72 deletions
+38 -7
View File
@@ -2,22 +2,53 @@ import decman
from decman.plugins import pacman
class BaseModule(decman.Module):
def __init__(self):
class Latex(decman.Module):
def __init__(self, user: str):
"""Base packages that should never be uninstalled"""
self._user = user
super().__init__("latex")
@pacman.packages
def pkgs(self) -> set[str]:
return {
"texlive",
"texlive-langgerman",
"biber",
"perl-yaml-tiny",
"perl-file-homedir",
"biber",
"python-pygments",
"texlab",
"texlive-basic",
"texlive-bibtexextra",
"texlive-binextra",
"texlive-context",
"texlive-fontsextra",
"texlive-fontsrecommended",
"texlive-fontutils",
"texlive-formatsextra",
"texlive-games",
"texlive-humanities",
"texlive-latex",
"texlive-latexextra",
"texlive-latexrecommended",
"texlive-lualatex",
"texlive-mathscience",
"texlive-metapost",
"texlive-music",
"texlive-pictures",
"texlive-plaingeneric",
"texlive-pstricks",
"texlive-publishers",
"texlive-xetex",
"texlive-langgerman",
}
def on_enable(self, store: decman.Store):
# TODO: clone the git repo
return super().on_enable(store)
decman.prg(
[
"cd",
"~/projects/",
"git",
"clone",
"https://git.janishutz.com/janishutz/latex",
],
user=self._user,
)
+2 -1
View File
@@ -2,7 +2,7 @@ import decman
from decman.plugins import pacman, aur
class NeovimModule(decman.Module):
class Neovim(decman.Module):
def __init__(self):
"""Neovim Packages"""
super().__init__("neovim")
@@ -15,6 +15,7 @@ class NeovimModule(decman.Module):
"lua-language-server",
"tree-sitter",
"tree-sitter-cli",
"shell-color-scripts-git",
"stylua",
}