diff --git a/system/wm/hyprland.nix b/system/wm/hyprland.nix index 053b7f3b..26d7979d 100644 --- a/system/wm/hyprland.nix +++ b/system/wm/hyprland.nix @@ -25,6 +25,7 @@ xwayland = { enable = true; }; + portalPackage = pkgs.xdg-desktop-portal-hyprland; }; }; } diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index c4ab5716..8c8c2326 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -364,7 +364,6 @@ # use hyprctl to switch workspaces sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprworkspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp ''; - mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; }); settings = { mainBar = { @@ -376,7 +375,7 @@ spacing = 2; modules-left = [ "custom/os" "battery" "backlight" "pulseaudio" "cpu" "memory" ]; - modules-center = [ "wlr/workspaces" ]; + modules-center = [ "hyprland/workspaces" ]; modules-right = [ "idle_inhibitor" "tray" "clock" ]; "custom/os" = { @@ -384,7 +383,7 @@ "exec" = ''echo "" ''; "interval" = "once"; }; - "wlr/workspaces" = { + "hyprland/workspaces" = { "format" = "{icon}"; "format-icons" = { "1" = "notes¹";