fix(waybar): Hyprland built-in support

This commit is contained in:
ziro 2023-10-02 08:29:21 +07:00
parent e756e1d77f
commit 926373c8a6
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -1,15 +1,14 @@
// For Arch users: Compile waybar with `-Dexperimental=true` flag!
{ {
"layer": "top", "layer": "top",
"height": 28, // Waybar height (to be removed for auto height) "height": 28, // Waybar height (to be removed for auto height)
"spacing": 0, // Gaps between modules (4px) "spacing": 0, // Gaps between modules (4px)
"modules-left": ["wlr/workspaces", "custom/media"], "modules-left": ["hyprland/workspaces", "custom/media"],
"modules-center": ["hyprland/window"], "modules-center": ["hyprland/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "disk", "memory", "temperature", "clock", "tray"], "modules-right": ["idle_inhibitor", "pulseaudio", "network", "disk", "memory", "temperature", "clock", "tray"],
"wlr/workspaces": { "hyprland/workspaces": {
"format": "{icon}", "format": "{id}",
"on-click": "activate", "on-click": "activate",
"sort-by-number": true "sort-by": "number"
}, },
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,