mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 09:05:59 +01:00
Add hyprland to waybar-hyprland path as fallback for hyprctl
This commit is contained in:
parent
8afc2f45c7
commit
74b49de883
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ in {
|
||||||
# use hyprctl to switch workspaces
|
# use hyprctl to switch workspaces
|
||||||
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
sed -i 's/zext_workspace_handle_v1_activate(workspace_handle_);/const std::string command = "hyprctl dispatch workspace " + name_;\n\tsystem(command.c_str());/g' src/modules/wlr/workspace_manager.cpp
|
||||||
'';
|
'';
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/waybar \
|
||||||
|
--suffix PATH : ${lib.makeBinPath [ prev.hyprland ]}
|
||||||
|
'';
|
||||||
mesonFlags = old.mesonFlags ++ ["-Dexperimental=true"];
|
mesonFlags = old.mesonFlags ++ ["-Dexperimental=true"];
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue