diff --git a/home/waybar.nix b/home/waybar.nix index 6b9758be..1be8f8f8 100644 --- a/home/waybar.nix +++ b/home/waybar.nix @@ -19,6 +19,10 @@ in height = if isVertical then null else 45; spacing = 8; + autohide = true; + exclusive = false; + autohide-starthidden = true; + modules-left = if icons then [ "wlr/taskbar" ] else [ "wlr/workspaces" "custom/new-workspace" ]; modules-right = [ "tray" "wireplumber" "backlight" "battery" "clock" ]; diff --git a/overlays/waybar.nix b/overlays/waybar.nix index e324512d..16374631 100644 --- a/overlays/waybar.nix +++ b/overlays/waybar.nix @@ -2,13 +2,13 @@ nixpkgs.overlays = [ (final: prev: { waybar = prev.waybar.overrideAttrs (old: rec { - version = "b0f89f2bc115f4447dbf4565faca9a6122594d68"; + version = "635e06209dcf14612549864f461847f94b86406b"; src = final.fetchFromGitHub { - owner = "Alexays"; + owner = "varbhat"; repo = "Waybar"; rev = version; - sha256 = "sha256-wH8UvSYnEBCdF2r6yAtocVuaZM9eIXLlg31n9FKTISE="; + sha256 = "sha256-9D+OTPVvjnjCl3OW/YUoFmDi8IJLs/8QTi5JUorLmL8="; }; postPatch = /* bash */ ''