fix: small tweaks

This commit is contained in:
2026-06-15 09:23:55 +02:00
parent e4a6ceaa4d
commit 9da8cf8fcf
5 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -11,4 +11,4 @@
- [X] Kitty theming
- [ ] Fish theming
- [ ] Fastfetch theming
- [ ] DMS instead of Hyprlock for locker?
- [X] DMS instead of Hyprlock for locker?
+1
View File
@@ -6,4 +6,5 @@ grub_os_prober = {"desktop": True, "laptop": False}
kernel_args_all = {"desktop": "", "laptop": ""}
kernel_args_debug_only = {"desktop": "", "laptop": ""}
kernel_args_normal_only = {"desktop": "", "laptop": ""}
user = "janis"
+2 -2
View File
@@ -9,10 +9,10 @@ if decman.aur:
decman.aur.ignored_packages |= {"yay"}
if decman.pacman:
decman.pacman.ignored_packages |= {"yay"}
decman.pacman.ignored_packages |= {"yay", "aylurs-gtk-shell"}
decman.modules += [
base.BasePackages(),
base.BasePackages("desktop"),
pipewire.Pipewire(),
dev_tools.DevTools(),
games.Games(),
+10 -2
View File
@@ -1,10 +1,13 @@
from typing import Literal
import decman
from decman.plugins import pacman, aur
class BasePackages(decman.Module):
def __init__(self):
def __init__(self, platform: Literal["desktop", "laptop"]):
"""Base packages that should never be uninstalled"""
self._platform: Literal["desktop", "laptop"] = platform
super().__init__("base")
@pacman.packages
@@ -54,12 +57,17 @@ class BasePackages(decman.Module):
def files(self) -> dict[str, decman.File]:
# TODO: File substitutions (for PC and laptop)
if self._platform == "desktop":
return {
"/etc/mkinitcpio.conf": decman.File(source_file="./system/mkinitcpio.conf"),
"/etc/mkinitcpio.conf": decman.File(
source_file="./system/mkinitcpio.conf"
),
"/etc/pacman.conf": decman.File(source_file="./system/pacman.conf"),
"/etc/default/grub": decman.File(source_file="./system/grub"),
"/etc/environment": decman.File(source_file="./system/environment"),
}
else:
return {}
def on_change(self, store):
decman.prg(["mkinitcpio", "-P"])
+1
View File
@@ -13,6 +13,7 @@ class UtilPackages(decman.Module):
def pkgs(self) -> set[str]:
return {
"bashtop",
"brightnessctl",
"bind",
"bluez",
"clamav",