Skip to content

Commit

Permalink
Add lightweight option for disabling the compositor
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 27, 2024
1 parent b878341 commit ce6237e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/roles/desktop/xserver/xmonad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ in
options = {
custom.roles.desktop.xserver.xmonad = {
enable = mkEnableOption "Xmonad window manager";
lightweight = mkEnableOption "Disable resource intensive effects";
};
};

Expand All @@ -34,7 +35,7 @@ in
};
};

picom.enable = true;
picom.enable = !cfg.lightweight;

polybar = {
enable = true;
Expand Down

0 comments on commit ce6237e

Please sign in to comment.