78 lines
2.0 KiB
Python
78 lines
2.0 KiB
Python
import decman
|
|
from decman.plugins import pacman, aur
|
|
|
|
import config
|
|
|
|
|
|
class UtilPackages(decman.Module):
|
|
def __init__(self):
|
|
"""Util packages"""
|
|
super().__init__("util")
|
|
|
|
@pacman.packages
|
|
def pkgs(self) -> set[str]:
|
|
return {
|
|
"bashtop",
|
|
"bind",
|
|
"bluez",
|
|
"clamav",
|
|
"evince",
|
|
"fastfetch",
|
|
"fd",
|
|
"ffmpeg",
|
|
"ffmpegthumbnailer",
|
|
"fish",
|
|
"fzf",
|
|
"gdu",
|
|
"gimp",
|
|
"go",
|
|
"gnome-disk-utility",
|
|
"gwenview",
|
|
"handbrake",
|
|
"iptables",
|
|
"libdvdcss",
|
|
"man-pages",
|
|
"man-db",
|
|
"mpv",
|
|
"nextcloud-client",
|
|
"okular",
|
|
"openconnect",
|
|
"os-prober",
|
|
"qalculate-qt",
|
|
"ripgrep",
|
|
"simple-scan",
|
|
"smartmontools",
|
|
"thunderbird",
|
|
"tldr",
|
|
"unzip",
|
|
"wget",
|
|
"wine",
|
|
"xclip",
|
|
"zathura",
|
|
"zathura-pdf-poppler",
|
|
"zip",
|
|
"zoxide",
|
|
"networkmanager-openconnect",
|
|
}
|
|
|
|
@aur.packages
|
|
def aurpkgs(self) -> set[str]:
|
|
return {
|
|
"librewolf-bin",
|
|
"brave-bin",
|
|
"vesktop-bin",
|
|
"uxplay",
|
|
"git-credential-manager-bin",
|
|
"gradia",
|
|
"parabolic",
|
|
}
|
|
|
|
def directories(self) -> dict[str, decman.Directory]:
|
|
return {
|
|
f"/home/{config.user}/.config/fish": decman.Directory("./config/fish", owner=config.user, group=config.user),
|
|
f"/home/{config.user}/.config/fastfetch": decman.Directory(
|
|
"./config/fastfetch", owner=config.user, group=config.user
|
|
),
|
|
f"/home/{config.user}/.config/mpv": decman.Directory("./config/mpv", owner=config.user, group=config.user),
|
|
}
|