diff --git a/home/common/wm/default.nix b/home/common/wm/default.nix index e7cab47..690e939 100644 --- a/home/common/wm/default.nix +++ b/home/common/wm/default.nix @@ -58,6 +58,9 @@ in ]; programs = { + waybar = { + enable = true; + }; swaylock = { enable = true; diff --git a/home/sessions/hyprland/default.nix b/home/sessions/hyprland/default.nix index 3d908fc..10101e6 100644 --- a/home/sessions/hyprland/default.nix +++ b/home/sessions/hyprland/default.nix @@ -61,6 +61,7 @@ let ${pkgs.systemd}/bin/systemctl --user restart xdg-desktop-portal.service ''; + bar-cmd = "${pkgs.waybar}/bin/waybar"; # Hyprland workspace configuration mainWorkspaces = builtins.genList (x: x+1) (9 ++ [0]); workspaceName = key: let @@ -152,6 +153,7 @@ in polkit-agent idle-cmd xdpg-workaround + bar-cmd ]; # Source a file (multi-file configs)