feat: updates to make it work
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import decman
|
||||
from decman.plugins import pacman, aur
|
||||
|
||||
import config
|
||||
|
||||
|
||||
class FileManager(decman.Module):
|
||||
def __init__(self):
|
||||
@@ -12,7 +14,10 @@ class FileManager(decman.Module):
|
||||
return {
|
||||
"ifuse",
|
||||
"libimobiledevice",
|
||||
"fuse2",
|
||||
"movit",
|
||||
"ouch",
|
||||
"resvg",
|
||||
"yazi",
|
||||
}
|
||||
|
||||
@@ -22,11 +27,11 @@ class FileManager(decman.Module):
|
||||
|
||||
def directories(self) -> dict[str, decman.Directory]:
|
||||
return {
|
||||
"~/.config/xdg-desktop-portal": decman.Directory(
|
||||
"./config/xdg-desktop-portal"
|
||||
f"/home/{config.user}/.config/xdg-desktop-portal": decman.Directory(
|
||||
"./config/xdg-desktop-portal", owner=config.user, group=config.user
|
||||
),
|
||||
"~/.config/xdg-desktop-portal-termfilechooser": decman.Directory(
|
||||
"./config/xdg-desktop-portal-termfilechooser"
|
||||
f"/home/{config.user}/.config/xdg-desktop-portal-termfilechooser": decman.Directory(
|
||||
"./config/xdg-desktop-portal-termfilechooser", owner=config.user, group=config.user
|
||||
),
|
||||
"~/.config/yazi": decman.Directory("./config/yazi"),
|
||||
f"/home/{config.user}/.config/yazi": decman.Directory("./config/yazi", owner=config.user, group=config.user),
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
import decman
|
||||
from decman.plugins import pacman
|
||||
|
||||
import config
|
||||
|
||||
|
||||
class DesktopShell(decman.Module):
|
||||
def __init__(self):
|
||||
@@ -10,8 +12,10 @@ class DesktopShell(decman.Module):
|
||||
|
||||
@pacman.packages
|
||||
def pkgs(self) -> set[str]:
|
||||
return {"dms-shell", "cava", "matugen", "papirus-icon-theme", "adw-gtk-theme"}
|
||||
return {"dms-shell", "cava", "matugen", "papirus-icon-theme", "adw-gtk-theme", "power-profiles-daemon", "qt6ct"}
|
||||
|
||||
# TODO: Copy the config of dms, once done
|
||||
def directories(self) -> dict[str, decman.Directory]:
|
||||
return { "~/.config/matugen": decman.Directory("./config/matugen") }
|
||||
return {
|
||||
f"/home/{config.user}/.config/matugen": decman.Directory("./config/matugen", owner=config.user, group=config.user)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user