Skip to content

Commit

Permalink
REVERT: waybar: fix hyprland workspaces
Browse files Browse the repository at this point in the history
Wait for Alexays/Waybar#3183 to land in a
Nixpkgs release
  • Loading branch information
robbins committed Apr 30, 2024
1 parent 2b48024 commit 82a74d8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions home-manager/modules/gui/bar.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ in
programs.waybar = {
style = ./bar.css;
enable = true;
package = pkgs.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
package = pkgs.waybar.overrideAttrs (oldAttrs: { # TODO: Revert when Waybar 0.10.3 lands in Nixpkgs
src = pkgs.fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = "f41458ea24a57bb71b629089396c31fe4dd97f1c";
hash = "sha256-rgBFaUVE8x/NoZyq8TK20IqbTBQa4deYm+Jc+L2aHEg=";
};
});
settings = [
{
Expand Down Expand Up @@ -126,6 +131,12 @@ in
interval = 60;
format = "{:%I:%M %p}";
};
"hyprland/workspaces" = {
disable-scroll = false;
format = "{name}";
persistent-workspaces = {
};
};
}
];
};
Expand Down

0 comments on commit 82a74d8

Please sign in to comment.