cleanup
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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 = { };
|
||||
# };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user