-- waybar

hl.on("hyprland.start", function()
    hl.exec_cmd("waybar")
end)

hl.layer_rule({
    match = {
        namespace = "waybar",
    },
    blur = true,
})

-- Original line:
-- layerrule = match:class waybar, match:float yes
-- NOTE: Layer rules use namespace, not window class/float.

hl.layer_rule({
    match = {
        namespace = "waybar",
    },
    ignore_alpha = 0.5,
})
