This commit is contained in:
mjallen18
2025-07-23 19:36:06 -05:00
parent 1ed989e713
commit 5dc1a96f6d
28 changed files with 89 additions and 8907 deletions

View File

@@ -372,7 +372,7 @@ in
${defaultBorderRadius}
${defaultCenterOptions}
margin-left: 4rem;
margin-right: 4rem;
margin-right: ${cfg.css.window.margin-right}rem;
}
/* make window module transparent when no windows present */

View File

@@ -1,5 +1,36 @@
{ lib, ... }:
with lib;
let
# nord = import ../../desktop/theme/nord.nix;
# defaultOpacity = "opacity: 0.85;";
# defaultBorderRadius = "border-radius: 1rem;";
# defaultCenterOptions = ''
# padding-top: 0.2rem;
# padding-bottom: 0.2rem;
# padding-left: 0.5rem;
# padding-right: 0.5rem;
# margin: 3px 0;
# '';
# borderRight = ''
# padding-top: 0.2rem;
# padding-bottom: 0.2rem;
# padding-left: 0.5rem;
# padding-right: 0.5rem;
# margin: 3px 0;
# border-radius: 0rem 1rem 1rem 0rem;
# margin-right: 0.5rem;
# '';
# borderLeft = ''
# padding-top: 0.2rem;
# padding-bottom: 0.2rem;
# padding-left: 0.5rem;
# padding-right: 0.5rem;
# margin: 3px 0;
# border-radius: 1rem 0rem 0rem 1rem;
# margin-left: 0.5rem;
# '';
in
{
options.mjallen.programs.waybar = {
enable = mkEnableOption "enable waybar";
@@ -28,5 +59,37 @@ with lib;
type = types.str;
default = "";
};
# Waybar modules config
# modules = mkOption {
# type = types.submodule {
# options = {
# # Modules
# window = mkOption {
# type = types.submodule {
# options = {
# # Waybar Module CSS
# margin-right = mkOption {
# type = types.str;
# default = "4";
# };
# };
# };
# };
# temperature = mkOption {
# type = types.submodule {
# options = {
# # Waybar Module CSS
# margin-right = mkOption {
# type = types.str;
# default = "4";
# };
# };
# };
# };
# };
# };
# default = { };
# };
};
}