Skip to content

Commit

Permalink
Disable waybar and eww if pc is not on
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Nov 18, 2024
1 parent b36c588 commit 4b1046c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion modules/home-manager/pc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
pc.programs.enable = lib.mkDefault true;
terminals.enable = lib.mkDefault true;

programs.autorandr.enable = lib.mkDefault true;
programs = {
autorandr.enable = lib.mkDefault true;
eww.enable = lib.mkDefault true;
waybar.enable = lib.mkDefault true;
};
};
}
2 changes: 1 addition & 1 deletion modules/home-manager/pc/desktop/bars/eww/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

config = lib.mkIf config.bars.eww.enable {
programs.eww = {
enable = true;
# enable = true;
package = pkgs.unstable.eww;
# enableZshIntegration = true;
# configDir = "~/.config/eww";
Expand Down
2 changes: 1 addition & 1 deletion modules/home-manager/pc/desktop/bars/waybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# enableRightBackColors = true;
# };
programs.waybar = {
enable = true;
# enable = true;
settings = {
mainBar = {
layer = "top";
Expand Down

0 comments on commit 4b1046c

Please sign in to comment.