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
+4 -6
View File
@@ -1,11 +1,11 @@
import decman
from decman.plugins import pacman, aur
from decman.plugins import pacman
class BaseModule(decman.Module):
class Hyprland(decman.Module):
def __init__(self):
"""Base packages that should never be uninstalled"""
super().__init__("base")
super().__init__("hyprland")
@pacman.packages
def pkgs(self) -> set[str]:
@@ -15,19 +15,17 @@ class BaseModule(decman.Module):
"hypridle",
"hyprshutdown",
"grimblast",
"grim",
"xdg-desktop-portal-hyprland",
"hyprpolkitagent",
"hyprpaper",
"wl-clipboard",
"cliphist",
"hyrplauncher",
"hyprpwcenter",
"hyprtoolkit",
}
def directories(self) -> dict[str, decman.Directory]:
return super().directories()
return {"~/.config/hypr": decman.Directory("./config/hypr")}
def on_change(self, store: decman.Store):
return super().on_change(store)