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 - [X] Kitty theming
- [ ] Fish theming - [ ] Fish theming
- [ ] Fastfetch 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_all = {"desktop": "", "laptop": ""}
kernel_args_debug_only = {"desktop": "", "laptop": ""} kernel_args_debug_only = {"desktop": "", "laptop": ""}
kernel_args_normal_only = {"desktop": "", "laptop": ""} kernel_args_normal_only = {"desktop": "", "laptop": ""}
user = "janis" user = "janis"
+2 -2
View File
@@ -9,10 +9,10 @@ if decman.aur:
decman.aur.ignored_packages |= {"yay"} decman.aur.ignored_packages |= {"yay"}
if decman.pacman: if decman.pacman:
decman.pacman.ignored_packages |= {"yay"} decman.pacman.ignored_packages |= {"yay", "aylurs-gtk-shell"}
decman.modules += [ decman.modules += [
base.BasePackages(), base.BasePackages("desktop"),
pipewire.Pipewire(), pipewire.Pipewire(),
dev_tools.DevTools(), dev_tools.DevTools(),
games.Games(), games.Games(),
+15 -7
View File
@@ -1,10 +1,13 @@
from typing import Literal
import decman import decman
from decman.plugins import pacman, aur from decman.plugins import pacman, aur
class BasePackages(decman.Module): class BasePackages(decman.Module):
def __init__(self): def __init__(self, platform: Literal["desktop", "laptop"]):
"""Base packages that should never be uninstalled""" """Base packages that should never be uninstalled"""
self._platform: Literal["desktop", "laptop"] = platform
super().__init__("base") super().__init__("base")
@pacman.packages @pacman.packages
@@ -54,12 +57,17 @@ class BasePackages(decman.Module):
def files(self) -> dict[str, decman.File]: def files(self) -> dict[str, decman.File]:
# TODO: File substitutions (for PC and laptop) # TODO: File substitutions (for PC and laptop)
return { if self._platform == "desktop":
"/etc/mkinitcpio.conf": decman.File(source_file="./system/mkinitcpio.conf"), return {
"/etc/pacman.conf": decman.File(source_file="./system/pacman.conf"), "/etc/mkinitcpio.conf": decman.File(
"/etc/default/grub": decman.File(source_file="./system/grub"), source_file="./system/mkinitcpio.conf"
"/etc/environment": decman.File(source_file="./system/environment"), ),
} "/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): def on_change(self, store):
decman.prg(["mkinitcpio", "-P"]) decman.prg(["mkinitcpio", "-P"])
+1
View File
@@ -13,6 +13,7 @@ class UtilPackages(decman.Module):
def pkgs(self) -> set[str]: def pkgs(self) -> set[str]:
return { return {
"bashtop", "bashtop",
"brightnessctl",
"bind", "bind",
"bluez", "bluez",
"clamav", "clamav",