feat(waybar): initial waybar configuration

This commit is contained in:
ooks-io 2024-03-01 14:01:07 +13:00
parent 14788606df
commit 187d4d4034
3 changed files with 19 additions and 2 deletions

View file

@ -3,7 +3,7 @@
imports = [ imports = [
#./eww #./eww
./ags ./ags
#./waybar -- needs to be implemented ./waybar
]; ];
options.homeModules.desktop.wayland.bar = { options.homeModules.desktop.wayland.bar = {
@ -13,6 +13,9 @@
ags = { ags = {
enable = lib.mkEnableOption "Enable ags bar"; enable = lib.mkEnableOption "Enable ags bar";
}; };
waybar = {
enable = lib.mkEnableOption "Enable waybar bar";
};
}; };
} }

View file

@ -0,0 +1,14 @@
{ config, lib, ... }:
let
cfg = config.homeModules.desktop.wayland.bar.waybar;
in
{
config = lib.mkIf cfg.enable {
programs.waybar = {
enable = true;
systemd.enable = true;
};
};
}

View file

@ -15,7 +15,7 @@ in
windowManager.hyprland.enable = true; windowManager.hyprland.enable = true;
lockscreen.hyprlock.enable = true; lockscreen.hyprlock.enable = true;
notification.mako.enable = true; notification.mako.enable = true;
bar.ags.enable = true; bar.waybar.enable = true;
}; };
communication = { communication = {
discord.enable = true; discord.enable = true;