added back in the option to hide the center part of the dock because it is overlappig
This commit is contained in:
@@ -3,12 +3,22 @@
|
||||
services.upower.enable = true;
|
||||
};
|
||||
|
||||
flake.modules.homeManager.noctalia = { ... }: {
|
||||
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
settings = (import ./noctalia/_settings.nix) { };
|
||||
flake.modules.homeManager.noctalia = { lib, config, ... }: {
|
||||
options = {
|
||||
modules.noctalia.smallScreen = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = "Whether to adjust to small screen. Affects mostly the visibility of the middle bar panel.";
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
settings = (import ./noctalia/_settings.nix) {
|
||||
smallScreen = config.modules.noctalia.smallScreen;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user