feat: updates to make it work

This commit is contained in:
2026-06-14 20:42:49 +02:00
parent dce3c77a29
commit fab293438e
26 changed files with 163 additions and 101 deletions
+16 -7
View File
@@ -1,6 +1,8 @@
import decman
from decman.plugins import pacman
import config
class Hyprland(decman.Module):
def __init__(self):
@@ -10,22 +12,29 @@ class Hyprland(decman.Module):
@pacman.packages
def pkgs(self) -> set[str]:
return {
"cliphist",
# "grimblast",
"hyprland",
"hyprlock",
"hypridle",
"hyprshutdown",
"grimblast",
"xdg-desktop-portal-hyprland",
"hyprpolkitagent",
"hyprpaper",
"wl-clipboard",
"cliphist",
"hyprpwcenter",
"hyprtoolkit",
"hyprpolkitagent",
"hyprpaper",
"libappindicator",
"rtkit",
"wl-clipboard",
"wev",
"xdg-desktop-portal-hyprland",
}
def directories(self) -> dict[str, decman.Directory]:
return {"~/.config/hypr": decman.Directory("./config/hypr")}
return {
f"/home/{config.user}/.config/hypr": decman.Directory(
"./config/hypr", owner=config.user, group=config.user
)
}
def on_change(self, store: decman.Store):
return super().on_change(store)