mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-22 20:55:59 +01:00
Fix Waybar instructions on FreeBSD (#176)
* Work around GNU vs. BSD sed -i incompatibility sed: 1: "src/modules/wlr/workspa ...": bad flag in substitute command: 'k' https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254091 * waybar-hyprland also exists on FreeBSD, so drop -git suffix
This commit is contained in:
parent
51bb3bba1d
commit
ac58598600
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
Waybar is a GTK status bar made specifically for wlroots compositors.
|
||||
|
||||
To use it, it's recommended to use the AUR package `waybar-hyprland-git`.
|
||||
To use it, it's recommended to use your distro's package by searching `waybar-hyprland`.
|
||||
|
||||
## Compiling Manually
|
||||
|
||||
|
@ -11,7 +11,7 @@ To compile manually:
|
|||
Clone the source, cd into it, then do:
|
||||
|
||||
```bash
|
||||
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 -e '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
|
||||
meson --prefix=/usr --buildtype=plain --auto-features=enabled --wrap-mode=nodownload build
|
||||
meson configure -Dexperimental=true build
|
||||
sudo ninja -C build install
|
||||
|
|
Loading…
Reference in a new issue