feat(config): Clean up, add themes options

This commit is contained in:
2026-05-16 11:41:00 +02:00
parent 72b477381f
commit 80d7b3d86e
21 changed files with 252 additions and 178 deletions
+3 -2
View File
@@ -4,5 +4,6 @@ archmgr is a nixos-inspired package and config manager for Arch Linux.
To function, it needs both a configuration file (or multiple) and templates for its provided, preset configurations.
The latter reside in this folder and are a stripped-down version of the default config file.
## Template config file
TODO: Restructure this folder
## Template config folder
This folder contains the template configs for archmgr to copy into the user's newly created config repo
using the init function
-19
View File
@@ -1,19 +0,0 @@
from config.dtype.others import ArchMgrTemplateData
class ArchMgrTemplates:
pkg_bundles: dict[str, list[str]]
bootloader_config: BootLoaderSettings
theme_templates: ArchMgrTemplateData
repo_config: None # TODO: Define a good dtype here
class BootLoaderSettings:
templates: ArchMgrTemplateData
theme_folder: str
conf_build_cmd: str
name: str
def load_templates():
pass
-52
View File
@@ -1,52 +0,0 @@
hyprland:
- hyprland
- hyprlock
- hypridle
- grimblast
- grim
- xdg-desktop-portal-hyprland
- polkit-kde-agent
hyrpland-extra:
- hyprpaper
- wl-clipboard
- cliphist
- rofi
pipewire:
- pipewire
- pipewire-alsa
- pipewire-pulse
- pipewire-jack
- wireplumber
neovim:
- neovim
- lua
- lua-language-server
- tree-sitter
- tree-sitter-cli
- stylua
archives:
- zip
- unzip
bluetooth:
- blueman
- bluez
- bluez-utils
utils:
- fastfetch
- tldr
- gdu
- dig
- glances
- bashtop
# TODO: For all, make it possible to be pkgs plus configs?
yazi:
- yazi
- xdg-desktop-portal-termfilechooser-hunkyburrito-git
- ouch
View File
-7
View File
@@ -1,7 +0,0 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"": {}
}
}
+6
View File
@@ -0,0 +1,6 @@
# Templates folder
By convention, put here any yaml files that contain template information.
Ideally, each file in this folder contains config options for one of your programs.
Included you can find an example file for hyprland