remove waybar wlr/workspaces patch (#434)

modified:   Status-Bars.md
This commit is contained in:
MightyPlaza 2024-01-09 20:22:43 +00:00 committed by GitHub
parent 107851dcde
commit f7dc3319c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,19 +8,6 @@ Waybar is a GTK status bar made specifically for wlroots compositors and
supports Hyprland by default. To use it, it's recommended to use your distro's supports Hyprland by default. To use it, it's recommended to use your distro's
package. package.
## Compiling Manually
To compile manually:
Clone the source, cd into it, then do:
```bash
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
```
If you want to use the workspaces module, first, copy the configuration files from If you want to use the workspaces module, first, copy the configuration files from
`/etc/xdg/waybar/` into `~/.config/waybar/`. Then, in `~/.config/waybar/config` replace `/etc/xdg/waybar/` into `~/.config/waybar/`. Then, in `~/.config/waybar/config` replace
all the references to `sway/workspaces` with `hyprland/workspaces`. all the references to `sway/workspaces` with `hyprland/workspaces`.