Skip to content

Commit

Permalink
home/gui/wayland/waybar: add patch for fixing sway workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Mar 30, 2024
1 parent 4e2ff6c commit bcaf0c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions home/modules/gui/wayland/waybar/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@
programs.waybar = {
enable = true;

package = pkgs.waybar.overrideAttrs (_: {
patches = [
# Fixes sway workspaces (https://github.com/Alexays/Waybar/issues/3009)
(pkgs.fetchpatch {
url = "https://github.com/Alexays/Waybar/commit/2ffd9a94a505a2e7e933ea8303f9cf2af33c35fe.patch";
hash = "sha256-u87t6zzslk1mzSfi4HQ6zDPFr7qMfsvymTy3HBxVTJQ=";
})
];
});

settings.main =
{
layer = "top";
Expand Down

0 comments on commit bcaf0c6

Please sign in to comment.