Files
dotfiles/modules/core/ui/hyprland.py
T

32 lines
830 B
Python

import decman
from decman.plugins import pacman
class Hyprland(decman.Module):
def __init__(self):
"""Base packages that should never be uninstalled"""
super().__init__("hyprland")
@pacman.packages
def pkgs(self) -> set[str]:
return {
"hyprland",
"hyprlock",
"hypridle",
"hyprshutdown",
"grimblast",
"xdg-desktop-portal-hyprland",
"hyprpolkitagent",
"hyprpaper",
"wl-clipboard",
"cliphist",
"hyprpwcenter",
"hyprtoolkit",
}
def directories(self) -> dict[str, decman.Directory]:
return {"~/.config/hypr": decman.Directory("./config/hypr")}
def on_change(self, store: decman.Store):
return super().on_change(store)