- Introduced plasmaTheme variable in plasma.nix to allow selection between "desktop" and "laptop" themes. - Created common theme configurations in common.nix, including keyboard shortcuts and application settings. - Implemented desktop-specific configurations in desktop.nix, including panel layout, power management settings, and workspace appearance. - Added laptop-specific configurations in laptop.nix, focusing on power-saving features and panel arrangements. - Enhanced system monitoring widgets and battery management settings for both themes.
11 lines
247 B
Nix
11 lines
247 B
Nix
{pkgs, lib, inputs, username, project, plasmaTheme, ...}:
|
|
{
|
|
|
|
imports = [
|
|
./themes/common.nix
|
|
]
|
|
++ lib.optionals (plasmaTheme == "laptop") [ ./themes/laptop.nix ]
|
|
++ lib.optionals (plasmaTheme == "desktop") [ ./themes/desktop.nix ];
|
|
|
|
}
|