wm.sway module

This commit is contained in:
Bryan Ramos 2024-05-15 21:00:37 -04:00
parent 35cf3c5d4a
commit 00b46789d6
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
17 changed files with 34 additions and 29 deletions

View file

@ -1,4 +1,4 @@
{ lib }:
{ lib, ... }:
with lib;
{

View file

@ -3,7 +3,11 @@
with lib;
let
cfg = config.modules.user.bash;
gui = config.modules.user.gui.sway;
gui = config.modules.user.gui.wm;
wm = {
enable = builtins.any (mod: mod.enable or false) (builtins.attrValues gui);
};
in
{ options.modules.user.bash = { enable = mkEnableOption "user.bash"; };
@ -22,7 +26,7 @@ in
eza = {
enable = true;
enableAliases = true;
} // optionalAttrs gui.enable {
} // optionalAttrs wm.enable {
icons = true;
};
};