* Move some Waybar configuration problems to 'Useful Utilities/Status-Bars.md' * Move 'coredumpctl' usage over to 'Contributing and Debugging/_index.md' * Explain the "optimization options" * Replace some code block's language from 'ini' to 'bash', and 'sh' with 'bash'
1.9 KiB
Status Bars
Launch your bar with exec-once=
.
Waybar
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
,
or compile manually with the USE_EXPERIMENTAL
flag enabled.
Compiling Manually
To compile manually:
Clone the source, cd into it, then do:
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
meson --prefix=/usr --buildtype=plain --auto-features=enabled --wrap-mode=nodownload build
meson configure -Dexperimental=true build
and finally:
sudo ninja -C build install
If you want to use the workspaces module, it's called wlr/workspaces
.
For more info regarding configuration, see The Waybar Wiki.
Waybar popups render behind the windows
In ~/waybar/config
, make sure that you have the layer
configuration set to top
and not bottom
.
Active workspace doesn't show up
Replace #workspaces button.focus
with #wroskapces button.active
in ~/.config/style.css
.
Eww
In order to use Eww, you first have to install
it, either using your distro's package manager, by searching eww-wayland
, or
by manually compiling. In the latter case, you can follow the
instructions.
Configuration
After you've successfully installed Eww, you can move onto configuring it. There are a few examples listed in the Readme. We highly recommend you also read through the Configuration options.
{{< hint type=important >}} Read the Wayland section carefully before asking why your bar doesn't work. {{< /hint >}}