Add instructions for waybar window title (#226)

This commit is contained in:
scresante 2023-05-23 08:08:20 -04:00 committed by GitHub
parent 1ea964e8b7
commit 58a7620a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,22 @@ the `sed` command used before building Waybar: the default way to select a works
clicking uses the `swaymsg`'s way, and thus it is required to edit clicking uses the `swaymsg`'s way, and thus it is required to edit
this function to make it work with `hyprctl`. this function to make it work with `hyprctl`.
## Window title is missing
Follow the above instructions to make sure everything is working.
The prefix for the window module that provides the title is `hyprland` not `wlr`.
In your waybar config, insert this module:
```json
"modules-center": ["hyprland/window"],
```
If you are using a multiple monitors, you may want to also insert this module configuration:
```json
"hyprland/window": {
"max-length": 200,
"separate-outputs": true
},
```
# Eww # Eww
In order to use [Eww](https://github.com/elkowar/eww), you first have to install In order to use [Eww](https://github.com/elkowar/eww), you first have to install