mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 00:05:58 +01:00
Nix: deprecate waybar-hyprland
Now merged in Nixpkgs, no reason to keep it here.
This commit is contained in:
parent
78fa8adadc
commit
19f3e927d9
2 changed files with 2 additions and 14 deletions
|
@ -69,12 +69,12 @@
|
|||
# hyprland-extras
|
||||
xdg-desktop-portal-hyprland
|
||||
hyprland-share-picker
|
||||
waybar-hyprland
|
||||
# dependencies
|
||||
hyprland-protocols
|
||||
wlroots-hyprland
|
||||
udis86
|
||||
;
|
||||
waybar-hyprland = lib.warn "The `waybar-hyprland` package is now in Nixpkgs" pkgsFor.${system}.waybar-hyprland;
|
||||
});
|
||||
|
||||
devShells = eachSystem (system: {
|
||||
|
|
|
@ -55,19 +55,7 @@ in {
|
|||
self.overlays.waybar-hyprland
|
||||
];
|
||||
|
||||
waybar-hyprland = final: prev: {
|
||||
waybar-hyprland = prev.waybar.overrideAttrs (old: {
|
||||
postPatch = ''
|
||||
# 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
|
||||
'';
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/waybar \
|
||||
--suffix PATH : ${lib.makeBinPath [final.hyprland]}
|
||||
'';
|
||||
mesonFlags = old.mesonFlags ++ ["-Dexperimental=true"];
|
||||
});
|
||||
};
|
||||
waybar-hyprland = lib.warn "The `waybar-hyprland` package is now in Nixpkgs" (final: prev: {inherit (prev) waybar-hyprland;});
|
||||
|
||||
udis86 = final: prev: {
|
||||
udis86 = final.callPackage ./udis86.nix {};
|
||||
|
|
Loading…
Reference in a new issue