mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-26 06:25:59 +01:00
FAQ: fix typo, link to Waybar section
This commit is contained in:
parent
047d91b6aa
commit
58849b41b0
1 changed files with 2 additions and 20 deletions
|
@ -127,25 +127,7 @@ it with the `exec-once` keyword.
|
||||||
|
|
||||||
### I want to use Waybar, but the workspaces don't work!
|
### I want to use Waybar, but the workspaces don't work!
|
||||||
|
|
||||||
Copy the Waybar source, edit `include/factory.hpp` and add
|
Check [Status bars](../Useful-Utilities/Status-Bars).
|
||||||
|
|
||||||
```c
|
|
||||||
#define HAVE_WLR
|
|
||||||
#define USE_EXPERIMENTAL
|
|
||||||
```
|
|
||||||
|
|
||||||
on top. If you want to also have sway modules (or any other defined in the file)
|
|
||||||
add the appropriate defines.
|
|
||||||
|
|
||||||
All `#ifdef HAVE_<thing>` can be enabled by adding `#define HAVE_<thing>` on
|
|
||||||
top.
|
|
||||||
|
|
||||||
Then compile according to the instructions on the Waybar github repo.
|
|
||||||
|
|
||||||
Use the `wlr/workspaces` module.
|
|
||||||
|
|
||||||
Please do not blame me for this, it's the Waybar dev that doesn't include
|
|
||||||
experimental in the base binary for whatever reason.
|
|
||||||
|
|
||||||
### Waybar doesn't show the active workspace!
|
### Waybar doesn't show the active workspace!
|
||||||
|
|
||||||
|
@ -161,7 +143,7 @@ app will not start it on the initially assigned workspace (which could be a drag
|
||||||
if e.g. you want kitty to be started on ws 1 while you need kitty to open on any
|
if e.g. you want kitty to be started on ws 1 while you need kitty to open on any
|
||||||
workspace subsequently).
|
workspace subsequently).
|
||||||
|
|
||||||
Put the following in your `hyprdland.conf`: (example)
|
Put the following in your `hyprland.conf`: (example)
|
||||||
|
|
||||||
```plain
|
```plain
|
||||||
windowrule=workspace 1 silent,kitty
|
windowrule=workspace 1 silent,kitty
|
||||||
|
|
Loading…
Reference in a new issue